Hi

same tricks should work. Just set the fallback injector in properties of
the container and Mockito helper to get @Mock working
(org.mockito.MockitoAnnotations.initMocks()
IIRC)



Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau


2014-05-26 10:53 GMT+02:00 hwaastad <[email protected]>:

> Hi,
> I've been using App composer and mockito and its working nicely,
> However, after reading Romains blog (which has a lot of interesting hints
> regarding new feature in TomEE/OpenEJB) about ejbcontainer and junit rules
> my question is this.
>
> Is it possible to use mocking in these kinds of scenarios?
>
> br hw
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/OpenEJB-TomEE-and-mocking-tp4669665.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to