@Test
    public void testDecompressConcatenatedOffInTikaConfig() throws Exception {

        TikaConfig tikaConfig = null;
        try (InputStream is = getResourceAsStream("tika-gzip-config.xml")) {
            tikaConfig = new TikaConfig(is);
        }
        Parser p = new AutoDetectParser(tikaConfig);
        assertContains("<p>a</p>",
                getRecursiveMetadata("multiple.gz", p).get(1)
                        .get(TikaCoreProperties.TIKA_CONTENT));
    }
Test case for parsing gzip files.
tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/parser/pkg/GzipParserTest.java