I have written REST API which is between jasper server and my application. API is basically doing 3 things
1. Authenticating on jasper server.
2. Taking all present report list from jasper server repo to my application.
3. running the reports.
I need to write junit test cases using mockito for this API. I am using RESTEasy client.
Please help i am new to junit and mockito. Please provide if someone have good example on it. Thanks in advance.