TextExplanatoryAssertionGroupFormatter
constructor(bulletPoints: Map<KClass<out BulletPointIdentifier>, String>, assertionFormatterController: AssertionFormatterController)(source)
Represents an AssertionFormatter which formats AssertionGroups with an ExplanatoryAssertionGroupType by defining only an AssertionFormatterParameterObject -- which indicates that we are in an explanatory expectation-group and uses the bulletPoints
(passed as argument) as prefix -- and completely ignoring AssertionGroup.description and AssertionGroup.representation.
Parameters
bulletPoints
The formatter uses the bullet point defined for WarningAssertionGroupType ("❗❗ "
if absent) or the bullet point defined for ExplanatoryAssertionGroupType ("» "
if absent) as prefix of the child-AssertionFormatterParameterObject.
assertionFormatterController
The controller to which this formatter gives back the control when it comes to format children of an AssertionGroup.