infix fun <T> RootExpect<T>.withOptions(configuration: RootExpectBuilder.OptionsChooser<T>.() -> Unit): Expect<T> (source)
Uses the given configuration-lambda to create an RootExpectOptions which in turn is used to override (parts) of the existing configuration.
infix fun <T> RootExpect<T>.withOptions(options: RootExpectOptions<T>): Expect<T> (source)
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> (source)
Uses the given configuration-lambda to create an FeatureExpectOptions which in turn is used to re-define (parts) of the existing configuration.
Return
An new Expect with the specified options for subject of this expectation.
infix fun <T, R> FeatureExpect<T, R>.withOptions(options: FeatureExpectOptions<R>): Expect<R> (source)
Uses the given options to override (parts) of the existing configuration.
Return
An new Expect with the specified options for subject of this expectation.