doc / ch.tutteli.atrium.reporting / AssertionPairFormatter / formatGroupHeader

formatGroupHeader

abstract fun formatGroupHeader(parameterObject: AssertionFormatterParameterObject, assertionGroup: AssertionGroup, newParameterObject: AssertionFormatterParameterObject): Unit (source)

Formats the header (AssertionGroup.description and AssertionGroup.representation) of the given assertionGroup and appends the result to the sb of the given parameterObject.

Parameters

parameterObject - The parameter object which contains inter alia the sb to which the result will be appended.

assertionGroup - The AssertionGroup of which we want to format the header.

newParameterObject - The AssertionFormatterParameterObject used for the AssertionGroup.assertions.