Example #1
0
 public void InvalidLastName_TrowException(string LastName)
 {
     try
     {
         Check.LastName(LastName);
     }
     catch (CustomException Exception)
     {
         Assert.AreEqual("Invalid LastName", Exception.Message);
     }
 }
Example #2
0
        public void LastName_Test()
        {
            var Result = User.LastName("Imran");

            Assert.AreEqual(true, Result);
        }