[rules-users] JUnit Test, Mockito, AgendaEventListener Problem.

droolster quant.coder at gmail.com
Mon Aug 12 09:41:51 EDT 2013


I created the simple Hello World project using the Drools plugin.

Put in the mock listener: 

   AgendaEventListener p = mock(AgendaEventListener.class);
            ksession.addEventListener(p);
           
And it is fine. Compiles and runs fine.

So it must be a problem with the my original project setup - it's a
drools-spring project built using maven. It's going to be a nightmare to
track the problem down.

Any tips anybody?



--
View this message in context: http://drools.46999.n3.nabble.com/JUnit-Test-Mockito-AgendaEventListener-Problem-tp4025470p4025480.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list