@Test
    public void testTikaExecutorServiceFromConfig() throws Exception {
        URL url = getResourceAsUrl("TIKA-1762-executors.xml");

        TikaConfig config = new TikaConfig(url);

        ThreadPoolExecutor executorService = (ThreadPoolExecutor) config.getExecutorService();

        assertTrue((executorService instanceof DummyExecutor), "Should use Dummy Executor");
        assertEquals(3, executorService.getCorePoolSize(), "Should have configured Core Threads");
        assertEquals(10, executorService.getMaximumPoolSize(),
                "Should have configured Max Threads");
    }
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