doc / ch.tutteli.atrium.reporting / AssertionFormatterFacade / register

register

abstract fun register(assertionFormatterFactory: (AssertionFormatterController) -> AssertionFormatter): Unit (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.