Exemple #1
0
        public void Test_CreateValidationSet_All()
        {
            var valSet = factory.CreateValidationSet(validTestRules).ToList();

            valSet.Count.Should().Be(10);
        }
        public void SetupRules(PasswordRules ruleSet)
        {
            RuleSet = ruleSet;

            validationSet = validatorFactory.CreateValidationSet(ruleSet).ToList();
        }