예제 #1
0
        public void Test_ShouldWebsiteBeBlocked_NullBlacklistedWords()
        {
            //Arrange
            var check = new HtmlCheck(null);

            //Act
            check.ValidateUrl("http://google.com");
        }
예제 #2
0
        public void Test_ShouldWebsiteBeBlocked_NullUrl()
        {
            //Arrange
            var check = new HtmlCheck(new List <string>());

            //Act
            check.ValidateUrl(null);
        }