doc / ch.tutteli.atrium.api.infix.en_GB.creating / SuccessWithCreator

SuccessWithCreator

data class SuccessWithCreator<E>

Parameter object that takes assertionCreator which defines assertions for a resulting feature of type E.

Use the function success { ... } to create a SuccessWithCreator.

Since
0.12.0

Properties

assertionCreator

val assertionCreator: Expect<E>.() -> Unit