doc / ch.tutteli.atrium / AtriumFactory / newTextSameLineAssertionPairFormatter

newTextSameLineAssertionPairFormatter

fun newTextSameLineAssertionPairFormatter(objectFormatter: ObjectFormatter, translator: Translator): AssertionPairFormatter

Overrides IAtriumFactory.newTextSameLineAssertionPairFormatter

Creates an AssertionPairFormatter which is intended for text output (e.g. for the console) and puts assertion pairs on the same line.

Parameters

objectFormatter - The formatter which is used to format objects other than Assertions. translator - The translator which is used to translate Translatable such as DescriptiveAssertion.description.

Return
The newly created assertion formatter.