public void GivenPassword_WhenNull_ShouldThrowException() { UserRegistrationAnalysis validator = new UserRegistrationAnalysis(); Assert.AreEqual(false, validator.password_Analysis(null)); }
public void givenPassword_whenNotHaveMandetoryField_shouldReturnFalse() { UserRegistrationAnalysis useranalysis = new UserRegistrationAnalysis(); Assert.AreEqual(false, useranalysis.password_Analysis("rahul")); }