This is the email a find in the header of all the last 2 emails I received
dev-return-51928-maroussil=tec-connectivia@camel.apache.org
dev-return-51927-maroussil=tec-connectivia@camel.apache.org
From: dev-h...@camel.apache.org [dev-h...@camel.apach
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
I ask to infra to remove yourself.
--
Andrea Cosentino
--
Apache Camel PMC Chair
Apache Karaf Committer
Apache Servicemix PMC Member
Email: ancosen1...@yahoo.com
Twitter: @oscerd2
Github: oscerd
On Monday, November 5, 2018, 3:41:18 PM GMT+1, Marc-André Roussi
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.
HTH,
Christian
-Ursprüngliche Nachricht-
Von: Damien Nicolas [mailto:dmn.nico...@gmail.com]
Gesendet: Montag, 5. November 2018
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
Hello,
I would like to unit test a processor containing a service as an autowired
bean (*messageInformationService*). I would like to mock this bean to make
it return the data I want, but when I do that with Mockito, my service is
null.
*Here is my test class:*
public class GenerateCertificateTe