assertEquals(2, listAppender.list.size());
{
LoggingEvent e = listAppender.list.get(0);
LocationInfo li = e.getLocationInformation();
assertEquals(this.getClass().getName(), li.getClassName());
assertEquals(""+line, li.getLineNumber());
}
{
LoggingEvent e = listAppender.list.get(1);
LocationInfo li = e.getLocationInformation();
assertEquals(this.getClass().getName(), li.getClassName());
assertEquals(""+(line+1), li.getLineNumber());
}
}