fun new(sb: StringBuilder, assertionFilter: (IAssertion) -> Boolean): AssertionFormatterMethodObject
Creates a new AssertionFormatterMethodObject, one without a prefix and with indentLevel = 0.
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.