public static Parser findParser(Parser parser, Class clazz) {
        if (parser instanceof CompositeParser) {
            for (Parser child : ((CompositeParser) parser).getAllComponentParsers()) {
                Parser found = findParser(child, clazz);
                if (found != null) {
                    return found;
                }
            }
        } else if (clazz.isInstance(parser)) {
            return parser;
        }
        return null;
    }
Test that in at least one item in metadataList, all keys and values
in minExpected are contained.
<p>
The values in minExpected are tested for whether they are contained
within a value in the target.  If minExpected=&dquot;text/vbasic&dquot;  and
what was actually found in the target within metadatalist is
&dquot;text/vbasic; charset=windows-1252&dquot;,
that is counted as a hit.

@param minExpected
@param metadataList
tika-core/src/test/java/org/apache/tika/TikaTest.java