atrium-core-impl-robstoll-lib / ch.tutteli.atrium.reporting / TextIndentAssertionGroupFormatter / formatGroupHeaderAndGetChildMethodObject

formatGroupHeaderAndGetChildMethodObject

protected fun formatGroupHeaderAndGetChildMethodObject(assertionGroup: AssertionGroup, methodObject: AssertionFormatterMethodObject): AssertionFormatterMethodObject

Overrides SingleAssertionGroupTypeFormatter.formatGroupHeaderAndGetChildMethodObject

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

Parameters

assertionGroup - The assertion group which should be formatted. methodObject - The method object which contains inter alia the sb to which the result will be appended.

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