public Map<String, MetaProperties> logDirProps() {
        return logDirProps;
    }
@Test
    public void testCopierWriteLogDirChanges() throws Exception {
        MetaPropertiesEnsemble.Loader loader = new MetaPropertiesEnsemble.Loader();
        loader.addMetadataLogDir(createLogDir(SAMPLE_META_PROPS_LIST.get(0)));
        MetaPropertiesEnsemble ensemble = loader.load();
        MetaPropertiesEnsemble.Copier copier = new MetaPropertiesEnsemble.Copier(ensemble);
        String newLogDir1 = createEmptyLogDir();
        copier.logDirProps().put(newLogDir1, SAMPLE_META_PROPS_LIST.get(1));
        String newLogDir2 = createEmptyLogDir();
        copier.logDirProps().put(newLogDir2, SAMPLE_META_PROPS_LIST.get(2));
        copier.writeLogDirChanges();
        assertEquals(SAMPLE_META_PROPS_LIST.get(1).toProperties(), PropertiesUtils.readPropertiesFile(
            new File(newLogDir1, META_PROPERTIES_NAME).getAbsolutePath()));
        assertEquals(SAMPLE_META_PROPS_LIST.get(2).toProperties(), PropertiesUtils.readPropertiesFile(
            new File(newLogDir2, META_PROPERTIES_NAME).getAbsolutePath()));
    }