AssertionsOption

Option step which allows to specify AssertionGroup.assertions.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The previously defined AssertionGroup.description.

Link copied to clipboard
abstract val groupType: T

The previously defined AssertionGroup.type.

Link copied to clipboard
abstract val representation: Any

The previously defined AssertionGroup.representation.

Functions

Link copied to clipboard
open fun withAssertion(assertion: Assertion): R

Uses the given assertion as single AssertionGroup.assertions.

Link copied to clipboard
abstract fun withAssertions(assertions: List<Assertion>): R
open fun withAssertions(assertion1: Assertion, assertion2: Assertion): R
open fun withAssertions(assertion1: Assertion, assertion2: Assertion, assertion3: Assertion): R
Link copied to clipboard

Defines that an ExplanatoryAssertion will be used as single Assertion in AssertionGroup.assertions where the given translatable is used as ExplanatoryAssertion.explanation.

Defines that an ExplanatoryAssertion will be used as single Assertion in AssertionGroup.assertions where the given representation is used as ExplanatoryAssertion.explanation.

Defines that an ExplanatoryAssertion will be used as single Assertion in AssertionGroup.assertions where one can configure the ExplanatoryAssertion via the given explanationStep.

Defines that an ExplanatoryAssertion will be used as single Assertion in AssertionGroup.assertions where the given translatable -- which is used in an TranslatableWithArgs together with the given arguments (arg and optionally otherArgs) -- is used as ExplanatoryAssertion.explanation.