AssertionFormatterFacade

Responsible to call an appropriate AssertionFormatter which supports formating a given Assertion.

Inheritors

Functions

Link copied to clipboard
abstract fun format(assertion: Assertion, sb: StringBuilder, assertionFilter: (Assertion) -> Boolean)

Formats the given assertion and appends the result to the given sb.

Link copied to clipboard
abstract fun register(assertionFormatterFactory: (AssertionFormatterController) -> AssertionFormatter)

Uses the given assertionFormatterFactory to create and register an AssertionFormatter -- which means the created AssertionFormatter will be considered when an Assertion shall be formatted.