withOptions

Uses the given configuration-lambda to create an RootExpectOptions which in turn is used to override (parts) of the existing configuration.


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.


Uses the given options to override (parts) of the existing configuration.

Return

An new Expect with the specified options for subject of this expectation.