Testing code that uses HttpWebRequest directly, is a real pain. Usually what I have seen people do is create a service interface that hides the real http client behind the interface and then create fake service implementations to actually run their tests against. The annoying part about that solution is that Http client interfaces tend […]