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

AssertionVerbStep

interface AssertionVerbStep<T> (source)
Deprecated: Use RootExpectBuilder.ExpectationVerbStep from atrium-logic; will be removed latest with 0.17.0 (maybe earlier)

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 this expectation.

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.