fun <T : Any, TFeature : Any> IAssertionPlant<T>.its(feature: KProperty0<TFeature>): IAssertionPlant<TFeature>
Creates an IAssertionPlant which immediately evaluates IAssertions using the given feature as subject.
Delegates to property.
Return
An IAssertionPlant for the given feature, using an AtriumFactory.newFeatureAssertionChecker.
See Also
IAtriumFactory.newCheckImmediately
fun <T : Any, TFeature : Any> IAssertionPlant<T>.its(feature: KProperty0<TFeature>, createAssertions: IAssertionPlant<TFeature>.() -> Unit): IAssertionPlant<TFeature>
Creates an IAssertionPlant which lazily evaluates IAssertions using the given feature as subject.
Delegates to property, more details are given there.
AssertionError
- Might throw an AssertionError if an additionally created IAssertion
(by calling createAssertions) does not hold.
Return
An IAssertionPlant for the given feature, using an AtriumFactory.newFeatureAssertionChecker.
See Also