doc / ch.tutteli.atrium.reporting.text.impl / SingleAssertionGroupTypeFormatter / formatGroupAssertions


protected abstract fun formatGroupAssertions(formatAssertions: (AssertionFormatterParameterObject, (Assertion) -> Unit) -> Unit, childParameterObject: AssertionFormatterParameterObject): Unit (source)

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


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.

childParameterObject - The parameter object which shall be used to format AssertionGroup.assertions -- contains inter alia the sb to which the result will be appended.