atrium-api-fluent-en_GB-jvm / ch.tutteli.atrium.api.fluent.en_GB / ch.tutteli.atrium.creating.RootExpect / withOptions

withOptions

fun <T> RootExpect<T>.withOptions(configuration: OptionsChooser<T>.() -> Unit): Expect<T>

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

fun <T> RootExpect<T>.withOptions(options: ExpectOptions<T>): Expect<T>

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