@Test
    public void defaultParserWithExcludes() throws Exception {
        String xml =
                loadAndSerialize("TIKA-1445-default-except.xml", TikaConfigSerializer.Mode.STATIC);
        assertContains(
                "<parser class=\"org.apache.tika.parser.ErrorParser\">" + " <mime>fail/world" +
                    "</mime> " +
                "</parser>", xml);
    }
TIKA-1445 It should be possible to exclude DefaultParser from
certain types, so another parser explicitly listed will take them
tika-core/src/test/java/org/apache/tika/config/TikaConfigSerializerTest.java