@Test
public void testApplyWithoutComparator() {

    CollectorFormatter f = new CollectorFormatter("{3}", (Formatter) null,
            (Comparator<LogRecord>) null);
    LogRecord first = new LogRecord(Level.SEVERE, "");
    LogRecord second = new LogRecord(Level.WARNING, "");
    assertSame(second, f.apply(first, second));
}