infix fun <T> RootExpect<T>.withOptions(configuration: ExpectBuilder.OptionsChooser<T>.() -> Unit): Expect<T>
Uses the given configuration-lambda to create an ExpectOptions which in turn is used to override (parts) of the existing configuration.
infix fun <T> RootExpect<T>.withOptions(options: ExpectOptions<T>): Expect<T>
Uses the given options to override (parts) of the existing configuration.
infix fun <T, R> FeatureExpect<T, R>.withOptions(configuration: FeatureExpectOptionsChooser<R>.() -> Unit): Expect<R>
Uses the given configuration-lambda to create an FeatureExpectOptions which in turn is used to override (parts) of the existing configuration.
Return
An Expect for the current subject of the assertion.
infix fun <T, R> FeatureExpect<T, R>.withOptions(options: FeatureExpectOptions<R>): Expect<R>
Uses the given options to override (parts) of the existing configuration.
Return
An Expect for the current subject of the assertion.