OptionsStepImpl

class OptionsStepImpl<T>(val subject: T, val expectationVerb: Translatable) : RootExpectBuilder.OptionsStep<T> (source)

Constructors

Link copied to clipboard
constructor(subject: T, expectationVerb: Translatable)

Functions

Link copied to clipboard

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

open override fun withOptions(rootExpectOptions: RootExpectOptions<T>): RootExpectBuilder.FinalStep<T>

Uses the given rootExpectOptions.

Link copied to clipboard

States explicitly that no optional RootExpectOptions are defined, which means, build will create a new Expect based on the previously defined mandatory options but without any optional options or in other words, the default values are used for the optional options.

Properties

Link copied to clipboard
open override val expectationVerb: Translatable

The previously defined expectation verb.

Link copied to clipboard
open override val subject: T

The previously specified subject of the expectation.