private void VerifyServiceACLsRefresh(ServiceAuthorizationManager manager, Type protocol , string aclString) { foreach (Type protocolClass in manager.GetProtocolsWithAcls()) { AccessControlList accessList = manager.GetProtocolsAcls(protocolClass); if (protocolClass == protocol) { NUnit.Framework.Assert.AreEqual(accessList.GetAclString(), aclString); } else { NUnit.Framework.Assert.AreEqual(accessList.GetAclString(), "*"); } } }