doc / ch.tutteli.atrium.logic.creating / RootExpectBuilder / OptionsStep / withOptions

withOptions

open fun withOptions(configuration: RootExpectBuilder.OptionsChooser<T>.() -> Unit): RootExpectBuilder.FinalStep<T> (source)

Allows to define the RootExpectOptions via an OptionsChooser-lambda which provides convenience functions.

The functions usually start with set... and are sometimes overloaded to ease the configuration. Note that the last configuration

abstract fun withOptions(rootExpectOptions: RootExpectOptions<T>): RootExpectBuilder.FinalStep<T> (source)

Uses the given rootExpectOptions.