doc / ch.tutteli.atrium.assertions.builders / ExplanatoryAssertionExplanationOption

ExplanatoryAssertionExplanationOption

interface ExplanatoryAssertionExplanationOption (source)

Option step which allows to specify ExplanatoryAssertion.explanation.

Functions

withDescription

open fun withDescription(translatable: Translatable, arg: Any, vararg otherArgs: Any): ExplanatoryAssertionFinalStep

Uses the given translatable together with the arg and optionally otherArgs to create an TranslatableWithArgs which is then used as ExplanatoryAssertion.explanation.

open fun withDescription(translatable: Translatable): ExplanatoryAssertionFinalStep

Uses the given translatable as explanation.

abstract fun withDescription(explanation: Any?): ExplanatoryAssertionFinalStep

Uses the given explanation as ExplanatoryAssertion.explanation.