Blog ... but mostly ramblings

Blog Articles

  • Unit testing HttpClient

    23rd November 2017

    There are several ways to unit test the results of calling HttpClient but I’ve outlined two here. Consider them opposite sides to the same coin. The first uses Moq and the second implements a mock HttpMessageHandler directly.

    Tags: Unit tests
Return to top