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-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.