public async Task CheckOkResponseHandling()
        {
            const string expectedResponse = "response";

            var mockHttpMessageHandler = new MockHttpMessageHandler
            {
                Response = { 
                    StatusCode = HttpStatusCode.OK, 
                    Content = new StringContent(expectedResponse) 
                }
            };

            var googleClient = new GoogleClient(new HttpClient(mockHttpMessageHandler));
            var uri = new Uri("http://unittest");
            var response = await googleClient.GetStringFromUrl(uri);

            Assert.IsNotNullOrEmpty(response);
            Assert.AreEqual(expectedResponse, response);
        }
        public async Task CheckNotFoundResponseHandling()
        {
            var mockHttpMessageHandler = new MockHttpMessageHandler
            {
                Response = { StatusCode = HttpStatusCode.NotFound }
            };

            var googleClient = new GoogleClient(new HttpClient(mockHttpMessageHandler));
            var uri = new Uri("http://unittest");
            
            try
            {
                await googleClient.GetStringFromUrl(uri);
            }
            catch (HttpRequestException httpRequestException)
            {
                Assert.AreEqual(httpRequestException.Message, "Response status code does not indicate success: 404 (Not Found).");

                throw;
            }
        }