public void When_Follow_InCorrect_PatternOf_Email_Address_Should_Pass() { UserRegistrstionMain userregistration = new UserRegistrstionMain(); bool result = userregistration.ValidateEmailAddress("soumen.,[email protected]"); Assert.IsFalse(result); }
public void When_Follow_Correct_PatternOf_Mobile_No_Should_Pass() { UserRegistrstionMain userregistration = new UserRegistrstionMain(); bool result = userregistration.ValidateMobileNumber("+919932619681"); Assert.IsTrue(result); }
public void When_Follow_InCorrect_PatternOf_LastName_Should_Pass() { UserRegistrstionMain userregistration = new UserRegistrstionMain(); bool result = userregistration.ValidateLastName("Gh"); Assert.IsFalse(result); }
public void When_Follow_Correct_PatternOf_FirstName_Should_Pass() { UserRegistrstionMain userregistration = new UserRegistrstionMain(); bool result = userregistration.ValidateFirstName("Soumen"); Assert.IsTrue(result); }
public void When_Follow_Every_Correct_PatternOf_Email_Address_Should_Pass() { UserRegistrstionMain userregistration = new UserRegistrstionMain(); bool result = userregistration.ValidateEmailAddress("*****@*****.**"); Assert.IsTrue(result); bool result1 = userregistration.ValidateEmailAddress("*****@*****.**"); Assert.IsTrue(result1); bool result3 = userregistration.ValidateEmailAddress("*****@*****.**"); Assert.IsTrue(result3); bool result4 = userregistration.ValidateEmailAddress("*****@*****.**"); Assert.IsTrue(result4); bool result5 = userregistration.ValidateEmailAddress("*****@*****.**"); Assert.IsTrue(result5); bool result6 = userregistration.ValidateEmailAddress("*****@*****.**"); Assert.IsTrue(result6); bool result7 = userregistration.ValidateEmailAddress("*****@*****.**"); Assert.IsTrue(result7); bool result8 = userregistration.ValidateEmailAddress("*****@*****.**"); Assert.IsTrue(result8); }
public void When_Follow_InCorrect_PatternOf_Password_Rule4_Should_Pass() { UserRegistrstionMain userregistration = new UserRegistrstionMain(); bool result = userregistration.ValidatePasswordRule4("soumengh18@"); Assert.IsFalse(result); }
public void When_Follow_Correct_PatternOf_Password_Rule3_Should_Pass() { UserRegistrstionMain userregistration = new UserRegistrstionMain(); bool result = userregistration.ValidatePasswordRule3("Soumengh18"); Assert.IsTrue(result); }