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

PresentWithCreator

data class PresentWithCreator<E>

Parameter object which represents a present value (e.g. to represent a present Optional) with an element type E combined with an assertionCreator which defines assertions for the element.

Use the function present { ... } to create this representation.

Since
0.12.0

Properties

assertionCreator

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