data class ExpectOptions<T>
Additional (non-mandatory) options for the ExpectBuilder to create an Expect.
ExpectOptions(assertionVerb: Translatable? = null, representationInsteadOfSubject: ((T) -> Any)? = null, reporter: Reporter? = null)
Additional (non-mandatory) options for the ExpectBuilder to create an Expect. |
val assertionVerb: Translatable?
Defines a custom assertion verb if not null. |
|
val reporter: Reporter?
Defines a custom reporter if not null. |
|
val representationInsteadOfSubject: ((T) -> Any)?
Defines a custom representation based on a present subject if not null. |
fun merge(options: ExpectOptions<T>): ExpectOptions<T>
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. |
|
fun toRootExpectOptions(): RootExpectOptions<T> |