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

register

abstract fun register(assertionFormatterFactory: (IAssertionFormatterController) -> IAssertionFormatter): Unit

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

Parameters

assertionFormatterFactory - The factory method to create an IAssertionFormatter which shall be registered.