doc / ch.tutteli.atrium.assertions / ExplanatoryAssertionGroup / <init>

<init>

ExplanatoryAssertionGroup(type: IExplanatoryAssertionGroupType, explanatoryAssertions: List<IAssertion>)

Represents an IAssertionGroup with an ExplanatoryAssertionGroupType, which means an IReporter should not show whether the assertions hold or not -- moreover holds always returns true.

Parameters

type - The concrete IExplanatoryAssertionGroupType explanatoryAssertions - The assertions of this group which shall not be evaluated but are used in reporting to explain something (rather than making assumptions).

Constructor
Represents an IAssertionGroup with an ExplanatoryAssertionGroupType, which means an IReporter should not show whether the assertions hold or not -- moreover holds always returns true.