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.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users