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

ExplanatoryAssertionGroupFinalStep

interface ExplanatoryAssertionGroupFinalStep : AssertionBuilderFinalStep<AssertionGroup> (source)
Deprecated: Use ExplanatoryGroup.FinalStep instead; will be removed with 1.0.0

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 of type T.

Companion Object Functions

create

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

Inheritors

FinalStep

interface FinalStep : AssertionBuilderFinalStep<AssertionGroup>, ExplanatoryAssertionGroupFinalStep

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