List list = new ArrayList();
statelessKnowledgeSession.setGlobal("list", list);
assertNotNull(statelessKnowledgeSession.getGlobals().get("list"));
statelessKnowledgeSession.execute(new Person("Darth", "Cheddar", 50));
KnowledgeLoggerAdaptor adaptor = (KnowledgeLoggerAdaptor) context.getBean("k1_logger");
assertNotNull(adaptor);
assertNotNull(adaptor.getRuntimeLogger());
adaptor.close();
adaptor = (KnowledgeLoggerAdaptor) context.getBean("k1_console_logger");
assertNotNull(adaptor);
assertNotNull(adaptor.getRuntimeLogger());
}