Example #1
0
 public void SpecialCharacterIncorrectCountReturnsFalse() =>
 Assert.False(
     PasswordSecurity.ConfirmSpecialCharacterRequirements("password12345"));
Example #2
0
 public void SpecialCharacterCountCorrectReturnsTrue(string plaintextPassword) =>
 Assert.True(
     PasswordSecurity.ConfirmSpecialCharacterRequirements(plaintextPassword));