PIDConverter extends ClassicConverter { @Override public String convert(ILoggingEvent event) { return pid; }  @Override String convert(ILoggingEvent event);  }
@Test public void testConvert() { final PIDConverter converter = new PIDConverter(); assertEquals("Unexpected convertion", PIDConverter.pid, converter.convert(new MockILoggingEvent())); assertEquals("Unexpected convertion", PIDConverter.pid, converter.convert(new MockILoggingEvent(null, LogMarker.ENTRY.getValue(), "message", new Object[] { null }))); }