OptionsStepImpl
class OptionsStepImpl<T>(val subject: T, val expectationVerb: Translatable) : RootExpectBuilder.OptionsStep<T> (source)
Functions
Link copied to clipboard
open fun withOptions(configuration: RootExpectBuilder.OptionsChooser<T>.() -> Unit): RootExpectBuilder.FinalStep<T>
Allows to define the RootExpectOptions via an OptionsChooser-lambda which provides convenience functions.
open override fun withOptions(rootExpectOptions: RootExpectOptions<T>): RootExpectBuilder.FinalStep<T>
Uses the given rootExpectOptions.
Link copied to clipboard
States explicitly that no optional RootExpectOptions are defined, which means, build
will create a new Expect based on the previously defined mandatory options but without any optional options or in other words, the default values are used for the optional options.