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.
assertionFormatterFactory
- The factory method to create an AssertionFormatter which shall be registered.