doc / ch.tutteli.atrium.reporting.impl / AssertionFormatterControllerBasedFacade / register

register

fun register(assertionFormatterFactory: (AssertionFormatterController) -> AssertionFormatter): Unit (source)

Overrides AssertionFormatterFacade.register

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.