@Test
public void processAllRelevantDumps() throws IOException {

	setLocalDump("20140221", DumpContentType.DAILY, true);
	setLocalDump("20140220", DumpContentType.DAILY, true);
	setLocalDump("20140219", DumpContentType.CURRENT, true);
	WmfDumpFileManager dumpFileManager = new WmfDumpFileManager(
			"wikidatawiki", dm, null);
	TestDumpfileProcessor dfp = new TestDumpfileProcessor();
	for (MwDumpFile dumpFile : dumpFileManager
			.findAllRelevantRevisionDumps(true)) {
		dfp.processDumpFileContents(dumpFile.getDumpFileStream(), dumpFile);
	}
	assertEquals(
			dfp.result,
			"Contents of daily 20140221\nContents of daily 20140220\nContents of current 20140219\n");
}