fun <T : Any> IAssertionPlant<T>.genericCheck(feature: KProperty0<Boolean>): IAssertionPlant<T>
(source)
Use this function to make the assertion about the existing property feature
of the IAssertionPlant.subject that the property is true
.
AssertionError
- Might throw an AssertionError if the made assertion does not hold.
Return
This plant to support a fluent-style API.