public void Request_ShouldReturnResponse()
        {
            // arrange
            var helper = new WebRequestHelper();

            // act
            var result = helper.Uri(new NetworkConnection(ExistingUrl));

            // assert
            Assert.That(result.Contains("<title>Google</title>"));
        }
        public void Request_InvalidUrl_Throws()
        {
            // arrange
            var helper = new WebRequestHelper();

            // act
            var result = Assert.Throws<WebException>(() => helper.Uri(new NetworkConnection(NonExistantUrl)));

            // assert
            Assert.That(result, Is.Not.Null);
        }