interface ObjectFormatterOption
(source)
Provides options to create an ObjectFormatter.
abstract val translator: Translator
The previously chosen Translator. |
abstract fun withDetailedObjectFormatter(): AssertionFormatterControllerOption
Uses CoreFactory.newDetailedObjectFormatter as ObjectFormatter. |
|
abstract fun withObjectFormatter(factory: (Translator) -> ObjectFormatter): AssertionFormatterControllerOption
Uses the given factory to build a custom ObjectFormatter. |
fun create(translator: Translator): ObjectFormatterOption |