Exemple #1
0
 public void InvalidPassword_TrhowException(string Password)
 {
     try
     {
         Check.Password(Password);
     }
     catch (CustomException Exception)
     {
         Assert.AreEqual("Invalid Password", Exception.Message);
     }
 }
Exemple #2
0
        public void Password_Test()
        {
            var Result = User.Password("Qwertyuiq1*");

            Assert.AreEqual(true, Result);
        }