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 ?
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
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
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
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
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