TextGroupingAssertionGroupFormatter

constructor(bulletPoints: Map<KClass<out BulletPointIdentifier>, String>, assertionFormatterController: AssertionFormatterController, assertionPairFormatter: AssertionPairFormatter)(source)

Represents an AssertionFormatter which formats AssertionGroups with a GroupingAssertionGroupType by putting each assertion on an own line prefixed with a bullet point.

Parameters

bulletPoints

The formatter uses the bullet point defined for GroupingAssertionGroupType ("# " if absent) as prefix of the group and RootAssertionGroupType (◆  if absent) of the child-AssertionFormatterParameterObject.

assertionFormatterController

The controller to which this formatter gives back the control when it comes to format children of an AssertionGroup.

assertionPairFormatter

The formatter which is used to format assertion pairs.