open fun withOptions(configuration: ExpectBuilder.OptionsChooser.() -> Unit): ExpectBuilder.FinalStep<T>
Allows to define the ExpectOptions via an OptionsChooser-lambda which provides convenience functions.
The function usually start with with...
and are sometimes overloaded to ease the configuration.
abstract fun withOptions(expectOptions: ExpectOptions): ExpectBuilder.FinalStep<T>
Uses the given expectOptions.