public async Task CreateClient_WithMockContext_ReturnsMockedData()
        {
            const string expectedContent = "TestData";

            var context = new MockHttpClientContext();

            context
            .Respond()
            .ForUri("http://test.com/")
            .ReturnText(expectedContent, HttpStatusCode.OK);

            var httpClientFactory = new MockHttpClientFactory(context.CreateMessageHandler());

            var client = httpClientFactory.CreateClient(string.Empty);

            var response = await client.GetStringAsync("http://test.com").ConfigureAwait(false);

            Assert.Equal(expectedContent, response);
        }