abstract fun withObjectFormatter(factory: (Translator) -> ObjectFormatter): AssertionFormatterControllerOption
Uses the given factory to build a custom ObjectFormatter.