@Test
public void testGetLocalDomainListSingle() throws IOException, KeyRefresherException, InterruptedException {

    File rootDir = new File(FSTORE_PATH);
    //noinspection ResultOfMethodCallIgnored
    rootDir.mkdirs();
    Struct lastModStruct = new Struct();
    lastModStruct.put("lastModTime", 1001);
    File file = new File(FSTORE_PATH, ".lastModTime");
    Path path = Paths.get(file.toURI());
    Files.write(path, JSON.bytes(lastModStruct));
    ZMSFileMTLSChangeLogStore fstore = new ZMSFileMTLSChangeLogStore(FSTORE_PATH, keyPath, certPath,
            trustStorePath, trustStorePassword);
    ZMSFileChangeLogStoreCommon cstore = new ZMSFileChangeLogStoreCommon(FSTORE_PATH);
    Struct data = new Struct();
    data.put("key", "val1");
    cstore.put("test1", JSON.bytes(data));
    
    List<String> ls = fstore.getLocalDomainList();
    assertEquals(ls.size(), 1);
    assertTrue(ls.contains("test1"));
}