fun <T : Any> AssertionPlantNullable<T?>.isNotNull(assertionCreator: AssertionPlant<T>.() -> Unit): Unit
Makes the assertion that AssertionPlantNullable.subject is not null and if so, uses assertionCreator which could create further assertions which are added as a group. |
|
fun <T> AssertionPlantNullable<T>.isNull(): Unit
Makes the assertion that AssertionPlant.subject is |