@Test
   public void parseInvalidEmptyFile() throws Exception {

	File warcFile = new File("src/test/resources/warc/invalid-empty.warc");
	WarcModule wm = new WarcModule();
       RepInfo info = new RepInfo(warcFile.getAbsolutePath());
       wm.parse(new FileInputStream(warcFile), info, 0);
       
       invalidCheck(info);
       
       assertEquals(1, info.getMessage().size());
       Map<String, Integer> messages = extractMessages(info.getMessage());
       assertEquals(1, messages.size());
       assertEquals(1, messages.get(DiagnosisType.ERROR_EXPECTED.name()).intValue());
}