예제 #1
0
 public void InvalidEmail_ThrowException(string Email)
 {
     try
     {
         Check.Email(Email);
     }
     catch (CustomException Exception)
     {
         Assert.AreEqual("Invalid Email", Exception.Message);
     }
 }
예제 #2
0
        public void Email_Test()
        {
            var Result = User.Email("*****@*****.**");

            Assert.AreEqual(true, Result);
        }