public async Task TestReadPageFail(HttpStatusCode statusCode)
        {
            var url = _mockServer.Urls.First();

            _mockServer.Given(Request.Create().UsingGet())
            .RespondWith(Response.Create()
                         .WithBody("SuccessFullRequest")
                         .WithStatusCode(statusCode));

            using (var client = new HttpClient())
            {
                var reader = new WebsiteReader(client);
                await Assert.ThrowsAnyAsync <Exception>(() => reader.ReadPageAsync(url));
            }
        }
        public async Task TestReadPage()
        {
            var url = _mockServer.Urls.First();

            _mockServer.Given(Request.Create().UsingGet())
            .RespondWith(Response.Create()
                         .WithBody("SuccessFullRequest")
                         .WithStatusCode(HttpStatusCode.OK));

            using (var client = new HttpClient())
            {
                var reader  = new WebsiteReader(client);
                var content = await reader.ReadPageAsync(url);

                Assert.Equal("SuccessFullRequest", content);
            }
        }