doc / ch.tutteli.atrium.logic.creating / RootExpectBuilder / FinalStep

FinalStep

interface FinalStep<T> (source)

Final step in the RootExpect building process which creates a new RootExpect based on the so far specified options.

Parameters

T - the type of the subject.

Properties

expectationVerb

abstract val expectationVerb: Translatable

The previously defined expectation verb.

options

abstract val options: RootExpectOptions<T>?

Either the previously specified RootExpectOptions or null.

subject

abstract val subject: T

The previously specified subject of the expectation.

Functions

build

abstract fun build(): RootExpect<T>

Creates a new Expect based on the previously defined maybeOptions.

Companion Object Functions

invoke

operator fun <T> invoke(subject: T, expectationVerb: Translatable, options: RootExpectOptions<T>?): RootExpectBuilder.FinalStep<T>

Inheritors

FinalStepImpl

class FinalStepImpl<T> : RootExpectBuilder.FinalStep<T>