Hello,
Please can the community help me.
I am setting up a JUnit test case. I am using Mockito to mock an
AgendaEventListener as follows:
* AgendaEventListener ael = mock(AgendaEventListener.class);
ksession.addEventListener(ael);*
However, Eclipse keeps complaining that
*The method addEventListener(WorkingMemoryEventListener) in the type
WorkingMemoryEventManager is not applicable for the arguments
(AgendaEventListener).*
According to the 5.5.0.Final API, it should infer that I am using:
*addEventListener(AgendaEventListener listener) *
but it doesn't. Can anyone help please. I am stuck on this.
Regards.
--
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.