Skip to content

Instantly share code, notes, and snippets.

@barrett777
barrett777 / AlwaysReturns.cs
Created February 22, 2017 00:54 — forked from Jaecen/AlwaysReturns.cs
Mocking HttpClient
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace DotUpgrade.Test
{
class AlwaysReturns : HttpMessageHandler
{
readonly HttpStatusCode StatusCode;