TextListBasedAssertionGroupFormatter

constructor(bulletPoint: String, assertionFormatterController: AssertionFormatterController, assertionPairFormatter: AssertionPairFormatter, clazz: KClass<T>)(source)

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

Parameters

bulletPoint

The bullet point (might also be more than one character) which shall be used.

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.

clazz

The AssertionGroupType which the concrete subclass canFormat.