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

ExplanatoryAssertionGroupFinalStep

interface ExplanatoryAssertionGroupFinalStep : AssertionBuilderFinalStep<AssertionGroup> (source)

Final step which creates an AssertionGroup with an ExplanatoryAssertionGroupType based on the previously defined groupType and the explanatoryAssertions.

Properties

explanatoryAssertions

abstract val explanatoryAssertions: List<Assertion>

The previously defined AssertionGroup.assertions

groupType

abstract val groupType: ExplanatoryAssertionGroupType

The previously defined AssertionGroup.type.

Inherited Functions

build

abstract fun build(): T

Creates and returns the new Assertion.

Companion Object Functions

create

fun create(groupType: ExplanatoryAssertionGroupType, explanatoryAssertions: List<Assertion>): ExplanatoryAssertionGroupFinalStep