@Test
public void testProcessSignedDomains() {

    ChangeLogStore clogStore = new MockZMSFileChangeLogStore("/tmp/zts_server_unit_tests/zts_root",
            pkey, "0");
    DataStore store = new DataStore(clogStore, null);
    
    List<SignedDomain> list = new ArrayList<>();
    
    SignedDomain signedDomain = createSignedDomain("coretech", "weather");
    list.add(signedDomain);
    
    signedDomain = createSignedDomain("sports", "weather");
    list.add(signedDomain);
    
    SignedDomains signedDomains = new SignedDomains();
    signedDomains.setDomains(list);
    boolean result = store.processSignedDomains(signedDomains);
    assertTrue(result);
    assertNotNull(store.getDomainData("coretech"));
    assertNotNull(store.getDomainData("sports"));
}