Is mocking for unit testing appropriate in this scenario?
- by Vinoth Kumar
I have written around 20 methods in Java and all of them call some web services.
None of these web services are available yet. To carry on with the server side coding, I hard-coded the results that the web-service is expected to give.
Can we unit test these methods? As far as I know, unit testing is mocking the input values and see how the program…