abstract fun format(assertion: IAssertion, methodObject: AssertionFormatterMethodObject): Unit
Finds a suitable IAssertionFormatter -- which was previously registered -- for the given assertion and formats it.
The methodObject allows to define an assertionFilter to filter out IAssertions (for instance, filter out messages which hold → see IAtriumFactory.newOnlyFailureReporter).
assertion - The assertion which shall be formatted.
methodObject - Used to share data between this IAssertionFormatterController and the registered
IAssertionFormatters.
UnsupportedOperationException - if no suitable IAssertionFormatter is found.
See Also