register

open override fun register(assertionFormatterFactory: (AssertionFormatterController) -> AssertionFormatter)(source)

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

Parameters

assertionFormatterFactory

The factory method to create an AssertionFormatter which shall be registered.