@Test
    public void testListParsers() throws Exception {
        String content = getParamOutContent("--list-parser");
        assertTrue(content.contains("org.apache.tika.parser.iwork.IWorkPackageParser"));
    }
Tests --list-parser option of the cli

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