assertEquals(t.toString(), le.getThrowableStrRep()[0]);
assertEquals(le.getLevel().toString(), level.toString());
}
public void testEntering() {
XLogger logger = XLoggerFactory.getXLogger("UnitTest");
logger.entry();
logger.entry(1);
logger.entry("test");
logger.entry("a", "b", "c", "d");
logger.entry("a", "b", "c", "d", "e");
logger.entry("a", "b", "c", "d", "e", "f");
assertEquals(6, listAppender.list.size());
verify((LoggingEvent) listAppender.list.get(0), "entry");
verify((LoggingEvent) listAppender.list.get(1), "entry with (1)");
verify((LoggingEvent) listAppender.list.get(2), "entry with (test)");