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

BasicAssertionGroupFinalStep

interface BasicAssertionGroupFinalStep : AssertionBuilderFinalStep<AssertionGroup> (source)

Final step which creates an AssertionGroup with the previously defined groupType, description, representation and assertions.

Properties

assertions

abstract val assertions: List<Assertion>

The previously defined AssertionGroup.assertions

description

abstract val description: Translatable

The previously defined AssertionGroup.description.

groupType

abstract val groupType: AssertionGroupType

The previously defined AssertionGroup.type.

representation

abstract val representation: Any

The previously defined AssertionGroup.representation.

Inherited Functions

build

abstract fun build(): T

Creates and returns the new Assertion.

Companion Object Functions

create

fun create(groupType: AssertionGroupType, description: Translatable, representation: Any, assertions: List<Assertion>): BasicAssertionGroupFinalStep

Inheritors

FixedClaimAssertionGroupFinalStep

interface FixedClaimAssertionGroupFinalStep : BasicAssertionGroupFinalStep

Final step which creates an AssertionGroup whose AssertionGroup.holds is fixed (not determined based on its AssertionGroup.assertions but on the given holds).