@Test
public void testGetLocalDomainListError() {

    ZMSFileChangeLogStoreCommon cstore = new ZMSFileChangeLogStoreCommon(FSTORE_PATH);
    File dir = Mockito.spy(cstore.rootDir);
    Mockito.when(dir.list()).thenReturn(null);
    cstore.rootDir = dir;
    List<String> ls = cstore.getLocalDomainList();
    assertTrue(ls.isEmpty());
}