withOptions
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 re-define (parts) of the existing configuration.
Return
An new Expect with the specified options for subject of this
expectation.
Uses the given options to override (parts) of the existing configuration.
Return
An new Expect with the specified options for subject of this
expectation.
fun <T, R> FeatureExpect<T, R>.withOptions(configuration: FeatureExpectOptionsChooser<R>.() -> Unit): Expect<R>(source)
Uses the given configuration-lambda to create a 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.