@Test
public void parseInvalidEmptyGzipFile() throws Exception {

    File gzipFile = new File("src/test/resources/gzip/invalid-empty.gzip");
    assertTrue( gzipFile.isFile() );
    
    GzipModule gzm = new GzipModule();
    RepInfo info = new RepInfo(gzipFile.getAbsolutePath());
    gzm.parse(new FileInputStream(gzipFile), info, 0);
    
    assertEquals(RepInfo.FALSE, info.getWellFormed());
    assertEquals(RepInfo.FALSE, info.getValid());
    assertTrue(info.getSigMatch().isEmpty());
    // Validate the failures.
    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());
}