Beispiel #1
0
 public void InvalidName_TrowException(string FirstName)
 {
     try
     {
         Check.FirstName(FirstName);
     }
     catch (CustomException Exception)
     {
         Assert.AreEqual("Invalid First Name", Exception.Message);
     }
 }
Beispiel #2
0
        public void FirstName_Test()
        {
            var Result = User.FirstName("Imran");

            Assert.AreEqual(true, Result);
        }