Example #1
0
        public void GetPolicyTest_ShouldSucceed()
        {
            var provider = PolicyServiceProviderFixture.GetServices().GetService <IPasswordPolicyProvider>();
            var result   = provider.GetPolicies();

            Assert.NotNull(result);
            Assert.True(result.Any());
        }
Example #2
0
        public PasswordPolicyVerifierTests()
        {
            var provider = PolicyServiceProviderFixture.GetServices().GetService <IPasswordPolicyProvider>();

            _verifier = new PasswordPolicyVerifier(provider);
        }