doc / ch.tutteli.atrium.spec.assertions / mapToCreateAssertion

mapToCreateAssertion

fun <T : Any> mapToCreateAssertion(createAssertion: IAssertionPlant<T>.() -> Unit): IAssertionPlant<T>.() -> Unit

Helper function to map an arbitrary IAssertionPlant<T>.(...) -> Unit function to a parameter-less one.