// create the builder
StatelessKieSession ksession = getStatelessKieSession( dt );
KieRuntimeLogger logger = KieServices.Factory.get().getLoggers().newConsoleLogger( ksession );
AgendaEventListener ael = mock( AgendaEventListener.class );
ksession.addEventListener( ael );
ksession.execute( new Message("Hello World") );
verify( ael ).afterMatchFired( any(AfterMatchFiredEvent.class) );