@Test
    public void testConfig() throws Exception {
        String content = getParamOutContent("--config=" + TEST_DATA_FILE.toString() + "/tika-config1.xml", resourcePrefix + "bad_xml.xml");
        assertTrue(content.contains("apple"));
        assertTrue(content.contains("org.apache.tika.parser.html.JSoupParser"));
    }
Tests --list-supported-types option of the cli

@throws Exception
tika-app/src/test/java/org/apache/tika/cli/TikaCLITest.java