public void Validate_RequiresLetterAndPasswordWith_PassesValidation() { var handler = new NeedsLetterValidationHandler(); var result = handler.Validate("1234567890A"); Assert.IsTrue(result); }
public void Validate_RequiresLetterAndPasswordWithout_FailsValidation() { var handler = new NeedsLetterValidationHandler(); var result = handler.Validate("1234567890"); Assert.IsFalse(result); }