PreviousNext
by bill-s, 2018-02-19T23:55:01.890Z
There has been a lot of discussion about how and even if the HttpClient class is testable. And it very much is.
So I wanted to write a quick post giving you three options that you can use when you need to write tests involving the HttpClient.
Let's assume we have a simple class which gets a list of songs from an API. I'll use this as the example class we wish to test.
Read More