arquillian-openejb-embedded-4 v4.0.0 ?

2012-08-31 Thread Yann Blazart
Hi ! I'm trying to use arquillian with embedded openejb. I only found a 4.1.0-SNAPSHOT of arquillian-openejb-embedded-4 in repository.apache.org. Does 4.0.0 exists ?

Re: OpenEJB Mockito unit test

2012-08-31 Thread Yann Blazart
JB 3 lite, Arquillian, and so on, > it's far easier to get simple integration tests. So the need to really > write unit tests is smaller. > > Just some thoughts. > Romain is currently on holidays, but quite sure he will find a hack for you > when he'll be back ;-) > &g

Re: OpenEJB Mockito unit test

2012-08-31 Thread Yann Blazart
ckito you need to change deep in the code the way ejb are >> > instantiated+scanned (doable but i really think it is easier to mock an >> ejb >> > than using mockito) >> > >> > Another lazy solution is to divide your module in submodule to be >> > mod

Re: OpenEJB Mockito unit test

2012-08-29 Thread Yann Blazart
he resources I don't need 2012/8/28 Yann Blazart > Mockito is more easy to use than extends the ejb class. > > I will search for a way to make that works. > > > 2012/8/28 Romain Manni-Bucau > >> Hi, >> >> Generally we mock services replacing the

Re: OpenEJB Mockito unit test

2012-08-28 Thread Yann Blazart
but you can use mockito to implement this other class with a > kind of delegate pattern. > > - Romain > Le 28 août 2012 16:19, "Yann Blazart" a écrit : > > > Hi , is there a way to use Mockito instance with Application composer for > > unit tests ? > > &g

OpenEJB Mockito unit test

2012-08-28 Thread Yann Blazart
Hi , is there a way to use Mockito instance with Application composer for unit tests ? For example here, is there a solution to use the mockito instance for the EjbJar ? : > @RunWith(ApplicationComposer.class) > public class EchoServiceTest { > > @Mock > private DummyService dummyService