WmfOnlineDailyDumpFile extends WmfDumpFile { @Override public DumpContentType getDumpContentType() { return DumpContentType.DAILY; } WmfOnlineDailyDumpFile(String dateStamp, String projectName,
			WebResourceFetcher webResourceFetcher,
			DirectoryManager dumpfileDirectoryManager); @Override DumpContentType getDumpContentType(); @Override InputStream getDumpFileStream(); @Override void prepareDumpFile();  }
@Test public void validDumpProperties() throws IOException { String dateStamp = "20140220"; wrf.setWebResourceContents( "https: + dateStamp + "/status.txt", "done"); wrf.setWebResourceContents( "https: + dateStamp + "/wikidatawiki-" + dateStamp + "-pages-meta-hist-incr.xml.bz2", "Line1", CompressionType.BZ2); WmfOnlineDailyDumpFile dump = new WmfOnlineDailyDumpFile(dateStamp, "wikidatawiki", wrf, dm); BufferedReader br = dump.getDumpFileReader(); assertEquals(br.readLine(), "Line1"); assertNull(br.readLine()); assertTrue(dump.isAvailable()); assertTrue(dump.isAvailable()); assertEquals(dateStamp, dump.getDateStamp()); assertEquals("wikidatawiki", dump.getProjectName()); assertEquals("wikidatawiki-daily-" + dateStamp, dump.toString()); assertEquals(DumpContentType.DAILY, dump.getDumpContentType()); }