source: class CollectorFormatterTest {
  
      private static final String LOG_CFG_KEY;
      private static final String LINE_SEP;
  
      @Test
      public void testApplyWithoutComparator() {
  
target:         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));
      }
  
  }