It's hard to get a grip on what you have got there. Perhaps an example would help?
Can you show us what you've got so far, what it is exactly you're trying to achieve, and exactly what problem you are facing?
Tim Driven Development
posted 3 years ago
1. Controller class abc.
2. AbcRepository which extend JPAREPOSITORY.
3. Interface as abcService to have CRUD operations.
4. Class AbcServiceImplementation to implement abcService, in that I have used for eg abcRepository.saveandflush().
In controller class, I have autowired abcService, and written APIs to perform crud operations.
All APIs are working.
How can I use mockito to test my rest APIs with above structure.
I am new to mockito. Please guide.
And then we all jump out and yell "surprise! we got you this tiny ad!"