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