List list = new ArrayList();
statelessKnowledgeSession.setGlobal("persons", list);
assertNotNull(statelessKnowledgeSession.getGlobals().get("persons"));
statelessKnowledgeSession.execute(new Person("Darth", "Cheddar", 50));
KieLoggerAdaptor adaptor = (KieLoggerAdaptor) container.getComponentInstance("k1_logger");
assertNotNull(adaptor);
assertNotNull(adaptor.getRuntimeLogger());
adaptor.close();
adaptor = (KieLoggerAdaptor) container.getComponentInstance("k1_console_logger");
assertNotNull(adaptor);
assertNotNull(adaptor.getRuntimeLogger());
}