On Mon, Nov 5, 2018 at 3:10 PM wrote:
>
> Hi Damien,
>
> I don't know exactly about Mockito's Spy capabilities, but perhaps you'd try
> it with the annotation @RunWith(MockitoJUnitRunner.class) at your class.
>
Yeah if you use that @Spy annotation then you may need some kind of
mockitio runner t
Claus: I removed that lines, cause you are right, there is no need to
create bean that will be mocked
Christian: I added it, and still the same issue..
Le lun. 5 nov. 2018 à 15:10, a écrit :
> Hi Damien,
>
> I don't know exactly about Mockito's Spy capabilities, but perhaps you'd
> try it with t
Hi
I think maybe you need to use the mockito mocked instance here instead
of creating a new instance yourself
context.bind("messageInformationService", new
MessageInformationServiceImpl());
On Mon, Nov 5, 2018 at 2:47 PM Damien Nicolas wrote:
>
> Hello,
>
> I would like to unit test a