interface IAssertionFormatterController
Responsible to control the flow of reporting using registered IAssertionFormatters.
abstract fun format(assertion: IAssertion, methodObject: AssertionFormatterMethodObject): Unit
Finds a suitable IAssertionFormatter -- which was previously registered -- for the given assertion and formats it. |
|
open fun isExplanatoryAssertionGroup(assertion: IAssertion): Boolean
Checks whether the given assertion is an IAssertionGroup and if its type is a IExplanatoryAssertionGroupType. |
|
abstract fun register(assertionFormatter: IAssertionFormatter): Unit
Registers the given assertionFormatter, which means it will be considered when an IAssertion shall be formatted. |
fun noSuitableAssertionFormatterFound(assertion: IAssertion): Nothing |