doc / ch.tutteli.atrium.assertions.builders / PartiallyFixedClaimGroup / HoldsOption

HoldsOption

interface HoldsOption<T : AssertionGroupType> : FixedClaimLikeGroup.HoldsOption<T, PartiallyFixedClaimGroup.FinalStep> (source)

Option step which allows to specify the AssertionGroup.holds or another fixed part involved in calculating AssertionGroup.holds.

Inherited Properties

failing

abstract val failing: AssertionGroupDescriptionAndRepresentationOption<T, AssertionsOption<T, R>>

Defines the AssertionGroup (or the fixed part) does not hold.

groupType

abstract val groupType: T

The previously defined AssertionGroup.type.

holding

abstract val holding: AssertionGroupDescriptionAndRepresentationOption<T, AssertionsOption<T, R>>

Defines the AssertionGroup (or the fixed part) holds

Inherited Functions

withClaim

abstract fun withClaim(holds: Boolean): AssertionGroupDescriptionAndRepresentationOption<T, AssertionsOption<T, R>>

Uses the given holds as AssertionGroup.holds (or for the fixed part).

Companion Object Functions

create

fun <T : AssertionGroupType> create(groupType: T): PartiallyFixedClaimGroup.HoldsOption<T>