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

ExpectationVerbStep

interface ExpectationVerbStep<T> (source)

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

Parameters

T - the type of the subject.

Properties

subject

abstract val subject: T

The previously specified subject of the expectation.

Functions

withVerb

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

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

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

Uses the given verb as expectation verb.

Inheritors

ExpectationVerbStepImpl

class ExpectationVerbStepImpl<T> : RootExpectBuilder.ExpectationVerbStep<T>