14 references to TestingHandlerStub
Microsoft.Extensions.Http.Diagnostics.Tests (14)
Logging\HttpClientLoggerTest.cs (14)
68new TestingHandlerStub((_, _) => Task.FromResult(httpResponseMessage)));
103new TestingHandlerStub((_, _) => throw exception));
146new TestingHandlerStub((_, _) => Task.FromResult(new HttpResponseMessage(HttpStatusCode.OK))));
235new TestingHandlerStub((_, _) => Task.FromResult(httpResponseMessage)));
331new TestingHandlerStub((_, _) => Task.FromResult(httpResponseMessage)));
433new TestingHandlerStub((_, _) => throw exception));
548new TestingHandlerStub((_, _) => Task.FromResult(httpResponseMessage)));
641new TestingHandlerStub((_, _) => Task.FromResult(httpResponseMessage)));
684new TestingHandlerStub((_, _) => Task.FromResult(new HttpResponseMessage(HttpStatusCode.OK))));
727new TestingHandlerStub((_, _) => Task.FromResult(new HttpResponseMessage(HttpStatusCode.OK))));
764new TestingHandlerStub(
809new TestingHandlerStub((_, _) => throw sendAsyncException));
911new TestingHandlerStub((_, _) =>
953new TestingHandlerStub((_, _) =>