@Override
    public void checkInitialization(InitializableProblemHandler handler)
            throws TikaConfigException {
        //completely arbitrary
        if (sum > 1000) {
            handler.handleInitializableProblem("DummyInitializableParser",
                    "sum cannot be > 1000: " + sum);
        }
    }
This tests that initialize() is called after adding the parameters
configured via TikaConfig
tika-core/src/test/java/org/apache/tika/parser/DummyInitializableParser.java