doc / ch.tutteli.atrium.domain.builders.reporting / ExpectOptions

ExpectOptions

data class ExpectOptions

Additional (non-mandatory) options for the ExpectBuilder to create an Expect.

Constructors

<init>

ExpectOptions(assertionVerb: Translatable? = null, representation: Any? = null, reporter: Reporter? = null)

Additional (non-mandatory) options for the ExpectBuilder to create an Expect.

Properties

assertionVerb

val assertionVerb: Translatable?

Defines a custom assertion verb if not null.

reporter

val reporter: Reporter?

Defines a custom reporter if not null.

representation

val representation: Any?

Defines a custom representation for the subject if not null.

Functions

merge

fun merge(options: ExpectOptions): ExpectOptions

Merges the given options with this object creating a new ExpectOptions where defined properties in options will have precedence over properties defined in this instance.