doc / ch.tutteli.atrium.reporting.text.impl / TextSameLineAssertionPairFormatter / <init>

<init>

TextSameLineAssertionPairFormatter(objectFormatter: ObjectFormatter, translator: Translator)

Represents an AssertionPairFormatter formatter of assertion pairs -- which consists of a Translatable and a representation -- where it puts them on the same line in the form: translation: representation.

Parameters

objectFormatter - Used to format objects such as DescriptiveAssertion.representation.

translator - Used to translate Translatables such as DescriptiveAssertion.description.

Constructor
Represents an AssertionPairFormatter formatter of assertion pairs -- which consists of a Translatable and a representation -- where it puts them on the same line in the form: translation: representation.