Example #1
0
        public void ChecksPasswordPolicy_OneA_PassesMuster()
        {
            var subject = new ChecksPasswordPolicy();
            var result  = subject.CheckPassword("1-3 a: abcde");

            result.Should().BeTrue();
        }
Example #2
0
        public void ChecksPasswordPolicy_NoBs_Fails()
        {
            var subject = new ChecksPasswordPolicy();

            subject.CheckPassword("1-3 b: cdefg").Should().BeFalse();
        }