@Test
public void validCurrentDumpPropertiesOldFormat() throws IOException {

	wrf.setWebResourceContentsFromResource(
			"https://dumps.wikimedia.org/wikidatawiki/20140210/",
			"/wikidatawiki-20140210-index.html", this.getClass());
	wrf.setWebResourceContents(
			"https://dumps.wikimedia.org/wikidatawiki/20140210/wikidatawiki-20140210-pages-meta-current.xml.bz2",
			"Line1", CompressionType.BZ2);
	wrf.setWebResourceContentsFromResource(
			"https://dumps.wikimedia.org/wikidatawiki/20140210/wikidatawiki-20140210-md5sums.txt",
			"/wikidatawiki-20140210-md5sums.txt", this.getClass());
	MwDumpFile dump = new WmfOnlineStandardDumpFile("20140210",
			"wikidatawiki", wrf, dm, DumpContentType.CURRENT);
	BufferedReader br = dump.getDumpFileReader();
	assertEquals(br.readLine(), "Line1");
	assertNull(br.readLine());
	assertTrue(dump.isAvailable());
	assertEquals("20140210", dump.getDateStamp());
	assertEquals(DumpContentType.CURRENT, dump.getDumpContentType());
}