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

partiallyFixedClaimGroup

val AssertionBuilder.partiallyFixedClaimGroup: PartiallyFixedClaimGroup.GroupTypeOption (source)

Builder to create an AssertionGroup whose AssertionGroup.holds is a logic AND operation composed by a fixed part and its AssertionGroup.assertions.

The intended use case is if the AssertionGroup.assertions depend on a pre-transformation (e.g., extract a feature, type transformation etc.) which can either be successful or fail. If it fails, then the assertions cannot be carried out (only be used for explanation) and in such a case AssertionGroup.holds has to be false. Otherwise AssertionGroup.holds depend on AssertionGroup.assertions.