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

withOptions

fun <T> <ERROR CLASS><T>.withOptions(configuration: <ERROR CLASS><T>.() -> Unit): <ERROR CLASS><T> (source)
fun <T, R> <ERROR CLASS><T, R>.withOptions(configuration: <ERROR CLASS><R>.() -> Unit): <ERROR CLASS><R> (source)

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

Return
An Expect for the current subject of the assertion.

fun <T> <ERROR CLASS><T>.withOptions(options: <ERROR CLASS><T>): <ERROR CLASS><T> (source)
fun <T, R> <ERROR CLASS><T, R>.withOptions(options: <ERROR CLASS><R>): <ERROR CLASS><R> (source)

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

Return
An Expect for the current subject of the assertion.