public AutoDetectParserConfig getAutoDetectParserConfig() {
        return autoDetectParserConfig;
    }
@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());
    }