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