doc / ch.tutteli.atrium.domain.builders.utils / ArgumentMapperBuilder / toAssertionPlantNullable

toAssertionPlantNullable

inline fun <reified R> toAssertionPlantNullable(crossinline assertionCreator: AssertionPlantNullable<R>.(T) -> Unit): Pair<AssertionPlantNullable<R>.() -> Unit, Array<AssertionPlantNullable<R>.() -> Unit>> (source)
Deprecated: Switch from Assert to Expect and use toExpect instead; will be removed with 1.0.0

Maps each argument to an AssertionPlantNullable<R> lambda with receiver by using the given assertionCreator (passing in the argument).

Notice, a future version might constrain T with a lower bound Nothing?.

Returns
The mapped first and others.