public void GivenSadReturnUnSuccessfulForLastName(string message)
        {
            //Arrange
            UserRegister userRegister = new UserRegister(message);
            //Act
            var result = userRegister.checkFirstName();

            //Assert
            Assert.AreEqual("Entry UnSuccessfull", result);
        }
 public void GivenFirstNameThrowInvalidFirstNameExceptionIfInvalid(string fname)
 {
     try
     {
         //Arrange
         UserRegister userRegister = new UserRegister();
         //Act
         userRegister.checkFirstName(fname);
     }
     catch (UserRegistrationException e)
     {
         //Assert
         Assert.AreEqual("First Name is Invalid", e.Message);
     }
 }