@Test
    public void testListParserDetail() throws Exception {
        String content = getParamOutContent("--list-parser-detail");
        assertTrue(content.contains("application/vnd.oasis.opendocument.text-web"));

        content = getParamOutContent("--list-parser-details");
        assertTrue(content.contains("application/vnd.oasis.opendocument.text-web"));
    }
Tests --list-parser-detail option of the cli
Tests --list-parser-details option of the cli

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