KnowledgeBase kbase = loadKnowledgeBase("test_RuleChaining.drl");
StatefulKnowledgeSession ksession = createKnowledgeSession( kbase );
// create working memory mock listener
RuleRuntimeEventListener wml = Mockito.mock( RuleRuntimeEventListener.class );
org.kie.api.event.rule.AgendaEventListener ael = Mockito.mock( org.kie.api.event.rule.AgendaEventListener.class );
ksession.addEventListener( wml );
ksession.addEventListener( ael );