doc / ch.tutteli.atrium.domain.builders.reporting / ExpectBuilder / AssertionVerbStep

AssertionVerbStep

interface AssertionVerbStep<T> (source)

Step which allows to specify the assertion verb which shall be used.

Parameters

T - the type of the subject.

Properties

maybeSubject

abstract val maybeSubject: Option<T>

The previously specified subject of the assertion.

Functions

withVerb

open fun withVerb(verb: String): ExpectBuilder.OptionsStep<T>

Wraps the given verb into an Untranslatable and uses it as assertion verb.

abstract fun withVerb(verb: Translatable): ExpectBuilder.OptionsStep<T>

Uses the given verb as assertion verb.