doc / ch.tutteli.atrium.reporting / AssertionFormatterParameterObject / new

new

fun new(sb: StringBuilder, assertionFilter: (Assertion) -> Boolean): AssertionFormatterParameterObject

Creates a new AssertionFormatterParameterObject, one without a prefix and with indentLevel = 0.

Parameters

sb - The StringBuilder to which the formatting should be written.

assertionFilter - The filter used to decide whether an assertion should be formatted at all or not.

Return
The newly created AssertionFormatterParameterObject.