Configuration conf1 = new Configuration(), conf2 = new Configuration();
conf1.set(DFS_DURABLE_SYNC, "false");
FileSystem fs1 = new TestFileSystem(conf1);
FileSystem fs2 = new TestFileSystem(conf2);
TestVolumeManagerImpl vm = new TestVolumeManagerImpl(ImmutableMap.<String,Volume> of("bar", new VolumeImpl(fs2, "/"), "foo", new VolumeImpl(fs1, "/")));
vm.ensureSyncIsEnabled();
}