atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.migration

Package ch.tutteli.atrium.domain.builders.migration

Functions

asAssert

fun <T : Any> <ERROR CLASS><T>.asAssert(): <ERROR CLASS><T>
fun <T : Any> <ERROR CLASS><T>.asAssert(assertionCreator: <ERROR CLASS><T>.() -> Unit): <ERROR CLASS><T>

Turns this Expect into an Assert so that you can use functions which have not yet been migrated to Expect.

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.

asExpectGroup

fun <T : Any> asExpectGroup(group: Group<(<ERROR CLASS><T>.() -> Unit)?>): Group<(<ERROR CLASS><T>.() -> Unit)?>

asSubExpect

fun <T : Any> asSubExpect(assertionCreatorOrNull: (<ERROR CLASS><T>.() -> Unit)?): (<ERROR CLASS><T>.() -> Unit)?