[rules-users] Isn't it possible to mock a global with e.g. Mockito or EasyMock

dhermanns d.hermanns at lvm.de
Mon Feb 7 05:07:00 EST 2011


Stupid one,

i found the reason myself. The import was wrong. It has to be:

import de.lvm.verteilung.monitoring.VorverteilungServicesMonitoringMBean;

So the ClassCastException was absolutely right 

cu,
Dirk
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Isn-t-it-possible-to-mock-a-global-with-e-g-Mockito-or-EasyMock-tp2442072p2442141.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list