assertEquals(String.format(" DEBUG %,d", Integer.MAX_VALUE), testLogger.getEntries().get(0));
}
@Test
public void getFormatterLogger_String() {
final StringFormatterMessageFactory messageFactory = StringFormatterMessageFactory.INSTANCE;
final TestLogger testLogger = (TestLogger) LogManager.getFormatterLogger("getLogger_String_StringFormatterMessageFactory");
assertNotNull(testLogger);
assertTrue(testLogger.getMessageFactory() instanceof StringFormatterMessageFactory);
assertEquals(messageFactory, testLogger.getMessageFactory());
testLogger.debug("%,d", Integer.MAX_VALUE);