open fun withOptions(configuration: ExpectBuilder.OptionsChooser<T>.() -> Unit): ExpectBuilder.FinalStep<T> (source)
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<T>): ExpectBuilder.FinalStep<T> (source)
Uses the given expectOptions.