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

ExplanatoryAssertionGroupTypeOption

interface ExplanatoryAssertionGroupTypeOption (source)
Deprecated: Use ExplanatoryGroup.GroupTypeOption instead; will be removed latest 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

withInformationType

abstract fun withInformationType(withIndent: Boolean): AssertionsOption<InformationAssertionGroupType, ExplanatoryAssertionGroupFinalStep>

Builder to create an AssertionGroup with a InformationAssertionGroupType.

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.