@Test
public void testStoreInitNoLastModTimeDomainUpdateFailure() {

    MockZMSFileChangeLogStore clogStore = new MockZMSFileChangeLogStore("/tmp/zts_server_unit_tests/zts_root",
            pkey, "0");
    clogStore.getClogStoreCommon().setTagHeader(null);
    DataStore store = new DataStore(clogStore, null);
    addDomainToDataStore(store, "coretech");
    ((MockZMSFileChangeLogStore) store.changeLogStore).setDomainList(null);
    /* our mock is going to throw an exception for domain list so failure */
    
    try {
        store.init();
        fail();
    } catch (ResourceException ex) {
        assertEquals(500, ex.getCode());
    }
}