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

mapToCreateAssertion

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

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