@Test
public void testProcessDomainPoliciesNullPolicies() {

    ChangeLogStore clogStore = new MockZMSFileChangeLogStore("/tmp/zts_server_unit_tests/zts_root",
            pkey, "0");
    DataStore store = new DataStore(clogStore, null);
    
    DomainData domainData = new DomainData();
    domainData.setName("coretech");
    DataCache dataCache = new DataCache();
    dataCache.setDomainData(domainData);
    
    store.processDomainPolicies(domainData, dataCache);
    assertEquals(dataCache.getMemberCount(), 0);
    SignedPolicies signedPolicies = new SignedPolicies();
    domainData.setPolicies(signedPolicies);
    store.processDomainPolicies(domainData, dataCache);
    assertEquals(dataCache.getMemberCount(), 0);
    DomainPolicies domainPolicies = new DomainPolicies();
    signedPolicies.setContents(domainPolicies);
    store.processDomainPolicies(domainData, dataCache);
    assertEquals(dataCache.getMemberCount(), 0);
}