atrium-core-impl-robstoll-lib / ch.tutteli.atrium.reporting / TextSummaryAssertionGroupFormatter / formatGroupAssertions

formatGroupAssertions

protected fun formatGroupAssertions(formatAssertions: (AssertionFormatterMethodObject, (Assertion) -> Unit) -> Unit, childMethodObject: AssertionFormatterMethodObject): Unit

Overrides SingleAssertionGroupTypeFormatter.formatGroupAssertions

Formats the AssertionGroup.assertions -- has to call the given formatAssertions function in order that the AssertionFormatterController can steer the process.

Parameters

formatAssertions - The function which should be called to format the assertions of a given AssertionGroup. It itself expects a function which formats single Assertions in the context of the given AssertionGroup. childMethodObject - The method object which shall be used to format AssertionGroup.assertions -- contains inter alia the sb to which the result will be appended.