public void ReturnsFalseAsDefault() { var password = new TobogganPassword("X"); Assert.False(password.IsValid()); }
public void ReturnsTrueIfPasswordMeetsPolicy(string record) { var password = new TobogganPassword(record); Assert.True(password.IsValid()); }
public void ReturnsFalseIfPasswordDoesNotMeetPolicy(string record) { var password = new TobogganPassword(record); Assert.False(password.IsValid()); }
public void ReturnFalseIfPolicyIsNull() { var password = new TobogganPassword("X: "); Assert.False(password.IsValid()); }