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

ExplanatoryAssertionGroupTypeOption

interface ExplanatoryAssertionGroupTypeOption
Deprecated: Use ExplanatoryGroup.GroupTypeOption instead; will be removed with 1.0.0

Option step which allows to specify what ExplanatoryAssertionGroupType is used as AssertionGroup.type.

Properties

withDefaultType

abstract val withDefaultType: AssertionsOption<DefaultExplanatoryAssertionGroupType, ExplanatoryAssertionGroupFinalStep>

Builder to create an AssertionGroup with a DefaultExplanatoryAssertionGroupType.

withWarningType

abstract val withWarningType: AssertionsOption<WarningAssertionGroupType, ExplanatoryAssertionGroupFinalStep>

Builder to create an AssertionGroup with a WarningAssertionGroupType.

Functions

withType

abstract fun <T : ExplanatoryAssertionGroupType> withType(groupType: T): AssertionsOption<T, ExplanatoryAssertionGroupFinalStep>

Builder to create an AssertionGroup with a custom ExplanatoryAssertionGroupType.

Inheritors

GroupTypeOption

interface GroupTypeOption : ExplanatoryAssertionGroupTypeOption

Option step which allows to specify what ExplanatoryAssertionGroupType is used as AssertionGroup.type.