ClassicLilithEncoder extends LilithEncoderBase<ILoggingEvent> { public void setIncludeCallerData(boolean includeCallerData) { this.includeCallerData = includeCallerData; } ClassicLilithEncoder(); boolean isIncludeCallerData(); void setIncludeCallerData(boolean includeCallerData);  }
@Test public void encodingWorks() throws IOException { final Logger logger = LoggerFactory.getLogger(ClassicLilithEncoderTest.class); ClassicLilithEncoder instance = new ClassicLilithEncoder(); instance.setIncludeCallerData(true); LoggingEvent event=new LoggingEvent(logger.getClass().getName(), (ch.qos.logback.classic.Logger) logger, Level.INFO, "Test", null, null); byte[] encoded = instance.encode(event); assertNotNull(encoded); assertTrue(encoded.length > 0); }