@Test
public void testProcessDomainUpdatesFromZMSInvalidSignedDomain() {

    ChangeLogStore clogStore = new MockZMSFileChangeLogStore("/tmp/zts_server_unit_tests/zts_root",
            pkey, "0");
    DataStore store = new DataStore(clogStore, null);
    SignedDomain signedDomain = createSignedDomain("coretech", "weather");
    signedDomain.setSignature("ABCD"); /* invalidate the signature */
    
    List<SignedDomain> domains = new ArrayList<>();
    domains.add(signedDomain);
    
    SignedDomains signedDomains = new SignedDomains();
    signedDomains.setDomains(domains);
    
    ((MockZMSFileChangeLogStore) store.changeLogStore).setSignedDomains(signedDomains);
    
    boolean result = store.processDomainUpdates();
    assertFalse(result);
}