@Test
    public void testDecompressConcatenatedOffInParseContext() throws Exception {
        ParseContext parseContext = new ParseContext();
        parseContext.set(CompressorParserOptions.class, new CompressorParserOptions() {
            @Override
            public boolean decompressConcatenated(Metadata metadata) {
                return false;
            }
        });
        assertContains("<p>a</p>",
                getRecursiveMetadata("multiple.gz", parseContext).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