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

ExplanatoryAssertionGroupTypeOption

interface ExplanatoryAssertionGroupTypeOption (source)

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.