public void DisassociatePolicyGroupFromomain_Test()
        {
            InitDomainRecords();
            InitCertPolicyRecords();
            InitCertPolicyGroupRecords();

            CertPolicyGroupManager groupMgr    = CreateManager();
            CertPolicyGroup        policyGroup = groupMgr.Get("PolicyGroup1");

            policyGroup.CertPolicies.Count.Should().Be(0);


            groupMgr.AssociateToOwner(policyGroup.Name, "domain1.test.com");
            groupMgr.AssociateToOwner(policyGroup.Name, "domain2.test.com");

            policyGroup = groupMgr.Get("PolicyGroup1");
            policyGroup.CertPolicyGroupDomainMaps.Count.Should().Be(2);

            // now disassociate
            groupMgr.DisassociateFromDomain("domain1.test.com", policyGroup.ID);

            policyGroup = groupMgr.Get("PolicyGroup1");
            policyGroup.CertPolicyGroupDomainMaps.Count.Should().Be(1);

            groupMgr.DisassociateFromDomain("domain2.test.com", policyGroup.ID);

            policyGroup = groupMgr.Get("PolicyGroup1");
            policyGroup.CertPolicyGroupDomainMaps.Count.Should().Be(0);
        }