In this article we will learn about Mockito.
What is Mockito?
Consider a scenario, where this some of the methods are made available by other vendor/ external vendors. So, my application just need to connect with the vendor service and get the response. That response later i can use to verify my application.
Now, what if the vendor service is not yet ready but you want to test your application, or for time being you want to test your application without connecting to real time vendor service…