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 at the latest

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

failing

abstract val failing: ExplanatoryAssertionGroupFinalStep

Make the ExplanatoryGroup no longer hold, use this if the explanatory assertion group is a single assertion within a group.

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.