protected static TikaConfig getConfig(String config) throws Exception {
        System.setProperty("tika.config", getConfigPath(config));
        return new TikaConfig();
    }
Parent of Junit test classes for {@link TikaConfig}, including
Tika Core based ones, and ones in Tika Parsers that do things
that {@link TikaConfigTest} can't, do due to a need for the
full set of "real" classes of parsers / detectors
tika-core/src/test/java/org/apache/tika/config/AbstractTikaConfigTest.java