I am having Restclient
class which makes a rest call to URL whenever GET method is called on the Restclient
object. I have a proper logic working behind.
Now Consider a case instead of using wiremock I used Mockito to mock the method GET on the Restclient
object to return the appropriate response.
Does this have a disadvantage like the amount of code covered from the main module or both are equally good?