All articles tagged as:


Unit Testing with the HttpClient

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…

Chris Sainty By Chris Sainty | Posted in unit-testing | 3 min read