@Test
public void testCleanupOldMetaFiles() throws IOException {

    generateDummyMetaFiles();
    Path dataDir = Paths.get(configuration.getDataFileLocation());
    Assert.assertEquals(4, dataDir.toFile().listFiles().length);
    // clean the directory
    metaProxy.cleanupOldMetaFiles();
    Assert.assertEquals(1, dataDir.toFile().listFiles().length);
    Path dummy = Paths.get(dataDir.toString(), "dummy.tmp");
    Assert.assertTrue(dummy.toFile().exists());
}