Hi, probably easier said than done.....at least for me :-) The only way it's working right now is.
1. mock implementation 2. inject implementation and not interface of the class to be mocked in class-in-test 3. skip mockitoannotations.initmocks(this) There are almost a billion ways of container testing using openejb now...like a swiss army knife :-) br -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-TomEE-and-mocking-tp4669665p4669698.html Sent from the OpenEJB User mailing list archive at Nabble.com.
