December 2017
Beginner
372 pages
10h 32m
English
Next up, let's look at our service class, and see how we can write a test for it. Every project you work on that will require data from some other system will have a service class, which will be using HTTP to make the web service call.
So, if we want to write a unit test for our service class, we would need to mock the HTTP and any other external dependencies our service class would have.
Read now
Unlock full access