doc / ch.tutteli.atrium / IAtriumFactory / newTextSameLineAssertionPairFormatter

newTextSameLineAssertionPairFormatter

abstract fun newTextSameLineAssertionPairFormatter(objectFormatter: ObjectFormatter, translator: Translator): AssertionPairFormatter
Deprecated: Use AssertImpl.coreFactory instead; will be removed with 1.0.0

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.