}
@Test
public void testSessionLoggersFromGroupAndNested() throws Exception {
StatelessKieSession statelessKnowledgeSession = (StatelessKieSession) context.getBean("k1");
StatelessKnowledgeSessionImpl impl = (StatelessKnowledgeSessionImpl) statelessKnowledgeSession;
assertEquals(2, impl.getRuleRuntimeEventListeners().size());
List list = new ArrayList();
statelessKnowledgeSession.setGlobal("persons", list);
assertNotNull(statelessKnowledgeSession.getGlobals().get("persons"));
statelessKnowledgeSession.execute(new Person("Darth", "Cheddar", 50));