@Test
public void getAllDailyDumpsOffline() throws IOException {

	setLocalDump("20140220", DumpContentType.DAILY, true);
	setLocalDump("20140205", DumpContentType.DAILY, true);
	WmfDumpFileManager dumpFileManager = new WmfDumpFileManager(
			"wikidatawiki", dm, null);
	List<? extends MwDumpFile> dumpFiles = dumpFileManager
			.findAllDumps(DumpContentType.DAILY);
	String[] dumpDates = { "20140220", "20140205" };
	assertEquals(dumpFiles.size(), dumpDates.length);
	for (int i = 0; i < dumpFiles.size(); i++) {
		assertEquals(dumpFiles.get(i).getDumpContentType(),
				DumpContentType.DAILY);
		assertEquals(dumpFiles.get(i).getDateStamp(), dumpDates[i]);
		assertTrue(dumpFiles.get(i) instanceof WmfLocalDumpFile);
	}
}