public void Should_ignore_non_letter_characters_rule_if_it_is_a_regular_user()
        {
            RegularUserPasswordRules regularUserPasswordRules = new RegularUserPasswordRules();

            var regularUserPasswordHistory = new PasswordHistory("UserName1", new Password(CurrentPassword), _previousPasswords, regularUserPasswordRules);

            regularUserPasswordHistory.CreateNewPassword(new Password(ItDoesNotAddNewNonLetterCharacterInLastTwoPasswords))
            .Should().BeTrue();
        }
        public void Should_not_ignore_new_pasword_contained_in_history_if_it_is_a_regular_user()
        {
            RegularUserPasswordRules regularUserPasswordRules = new RegularUserPasswordRules();

            var regularUserPasswordHistory = new PasswordHistory("UserName1", new Password(CurrentPassword), _previousPasswords, regularUserPasswordRules);

            regularUserPasswordHistory.CreateNewPassword(new Password(_itContainsUsedPassword))
            .Should().BeFalse();
        }
 public void Should_not_create_new_password_if_password_is_currently_in_use()
 {
     _highProfileUserPasswordHistory.CreateNewPassword(new Password(CurrentPassword))
     .Should().BeFalse();
 }