Re: Camel 3: error with Mockito

2020-05-20 Thread John Poth
Hi Andriy, can you try specifying the method you want to call in you route i.e .bean(positionMapItem, "map") ? Thanks ! On Tue, May 19, 2020 at 8:00 PM Andriy Klymenko wrote: > Hi, > > > > We use Camel 2 in our project for more than 3 years. > > Recently we decided to migrate to *Camel 3* but

Camel 3: error with Mockito

2020-05-19 Thread Andriy Klymenko
Hi, We use Camel 2 in our project for more than 3 years. Recently we decided to migrate to Camel 3 but faced a problem in unit tests. Our unit tests don't work as before: Mockito invokes a real method instead of mocked one. Moreover, it depends on environment- everything works as expected on