예제 #1
0
        public static void GetUrlRegex_Should_Return_Failed_Match()
        {
            // arrange
            var urls = new List <string> {
                "http://www.google.com", "http//www.bing.com"
            };

            // act
            var result = RegexUtility.IsMatch(urls, RegexUtility.GetUrlRegex());

            // assert
            Assert.False(result);
        }