doc / ch.tutteli.atrium.reporting.text.impl / TextListBasedAssertionGroupFormatter / formatGroupHeaderAndGetChildParameterObject

formatGroupHeaderAndGetChildParameterObject

protected open fun formatGroupHeaderAndGetChildParameterObject(assertionGroup: AssertionGroup, parameterObject: AssertionFormatterParameterObject): AssertionFormatterParameterObject (source)

Overrides SingleAssertionGroupTypeFormatter.formatGroupHeaderAndGetChildParameterObject

Formats the group header of the given assertionGroup (with type T) -- appends the result to the sb of the given parameterObject -- and returns the AssertionFormatterParameterObject which shall be used for the AssertionGroup.assertions.

Parameters

assertionGroup - The assertion group which should be formatted.

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

Return
The AssertionFormatterParameterObject which shall be used for the AssertionGroup.assertions.