@Test
    public void testAutoDetectParserConfig() throws Exception {
        TikaConfig tikaConfig =
                new TikaConfig(TikaConfigTest.class.getResourceAsStream("TIKA-3594.xml"));
        AutoDetectParserConfig config = tikaConfig.getAutoDetectParserConfig();
        assertEquals(12345, config.getSpoolToDisk());
        assertEquals(6789, config.getOutputThreshold());
        assertNull(config.getMaximumCompressionRatio());
        assertNull(config.getMaximumDepth());
        assertNull(config.getMaximumPackageEntryDepth());
    }
TIKA-1653 If one parser has child parsers, those child parsers shouldn't
show up at the top level as well
tika-core/src/test/java/org/apache/tika/config/TikaConfigTest.java