Logger logger = LogManager.getLogger(MapFilterTest.class);
Map<String, String> eventMap = new HashMap<String, String>();
eventMap.put("eventId", "Login");
logger.debug(new MapMessage(eventMap));
Map<String,Appender> appenders = config.getAppenders();
Appender app = appenders.get("LIST");
assertNotNull("No List appender", app);
List<String> msgs = ((ListAppender) app).getMessages();
assertNotNull("No messages", msgs);
assertTrue("No messages", msgs.size() > 0);