atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.reporting.impl.verb / AssertionVerbStepImpl

AssertionVerbStepImpl

class AssertionVerbStepImpl<T> : ExpectBuilder.AssertionVerbStep<T> (source)

Constructors

<init>

AssertionVerbStepImpl(maybeSubject: <ERROR CLASS><T>)

Properties

maybeSubject

val maybeSubject: <ERROR CLASS><T>

The previously specified subject of the assertion.

Functions

withVerb

fun withVerb(verb: <ERROR CLASS>): ExpectBuilder.OptionsStep<T>

Uses the given verb as assertion verb.

Inherited Functions

withVerb

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

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

Extension Functions

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.