Example #1
0
        public void TestIsEmail()
        {
            String email = "*****@*****.**";

            Assert.IsTrue(CommonValidator.IsEmail(email));
            email = "Test23434.com";
            Assert.IsFalse(CommonValidator.IsEmail(email));
            email = "Test@23434com";
            Assert.IsFalse(CommonValidator.IsEmail(email));
        }