class OptionsStepImpl<T> : ExpectBuilder.OptionsStep<T> (source)
OptionsStepImpl(maybeSubject: <ERROR CLASS><T>, assertionVerb: <ERROR CLASS>) |
val assertionVerb: <ERROR CLASS>
The previously defined assertion verb. |
|
val maybeSubject: <ERROR CLASS><T>
The previously specified subject of the assertion. |
fun withOptions(expectOptions: ExpectOptions<T>): ExpectBuilder.FinalStep<T>
Uses the given expectOptions. |
|
fun withoutOptions(): ExpectBuilder.FinalStep<T>
States explicitly that no optional ExpectOptions are defined, which means, |
open fun withOptions(configuration: ExpectBuilder.OptionsChooser<T>.() -> Unit): ExpectBuilder.FinalStep<T>
Allows to define the ExpectOptions via an OptionsChooser-lambda which provides convenience functions. |
fun <T, A> A.asExpect(): <ERROR CLASS><T>fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A
Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable. |