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

new

fun new(sb: StringBuilder, assertionFilter: (IAssertion) -> Boolean): AssertionFormatterMethodObject

Creates a new AssertionFormatterMethodObject, 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 AssertionFormatterMethodObject.