data class RootExpectOptions<T>
Additional (non-mandatory) options to create a RootExpect.
RootExpectOptions(assertionVerb: Translatable?, representationInsteadOfSubject: ((T) -> Any)?, reporter: Reporter?)
Additional (non-mandatory) options to create a RootExpect. |
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: RootExpectOptions<T>): RootExpectOptions<T>
Merges the given options with this object creating a new RootExpectOptions where defined properties in options will have precedence over properties defined in this instance. |