doc / ch.tutteli.atrium.reporting.text.impl / TextSameLineAssertionPairFormatter / formatGroupHeader

formatGroupHeader

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

Overrides AssertionPairFormatter.formatGroupHeader

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.