Example #1
0
        public void FindMatchingEntries_WithoutMatchingAce()
        {
            AccessControlList acl   = _testHelper.CreateStatefulAcl(_testHelper.CreateAceWithAbstractRole());
            SecurityToken     token = _testHelper.CreateTokenWithoutUser();

            AccessControlEntry[] foundEntries = acl.FindMatchingEntries(token);

            Assert.That(foundEntries.Length, Is.EqualTo(0));
        }