atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.reporting / ExpectBuilder / FinalStep

FinalStep

interface FinalStep<T> (source)

Final step in the assertion verb building process, creates a new Expect based on the so far specified options.

Parameters

T - the type of the subject.

Properties

assertionVerb

abstract val assertionVerb: <ERROR CLASS>

The previously defined assertion verb.

maybeSubject

abstract val maybeSubject: <ERROR CLASS><T>

The previously specified subject of the assertion.

options

abstract val options: ExpectOptions<T>?

Either the previously specified ExpectOptions or null.

Functions

build

abstract fun build(): <ERROR CLASS><T>

Creates a new Expect based on the previously defined maybeOptions.

Companion Object Functions

create

fun <T> create(maybeSubject: <ERROR CLASS><T>, assertionVerb: <ERROR CLASS>, options: ExpectOptions<T>?): ExpectBuilder.FinalStep<T>

Inheritors

FinalStepImpl

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