public void TestInitialization()
        {
            PermissionsCatalog catalog = new PermissionsCatalog();

            Assert.IsNotNull(catalog.RegisteredPermissions);
            Assert.AreEqual(0, catalog.RegisteredPermissions.Count);
        }
        public void TestRegisterPermissionSet()
        {
            PermissionsCatalog catalog = new PermissionsCatalog();
            ModuleActionSet set = new ModuleActionSet("module", null);
            catalog.RegisterPermissionSet(set);

            Assert.AreEqual(set, catalog.RegisteredPermissions[set.ModuleName]);
        }