private void invokeAllMethodsOf(Logger logger) throws InvocationTargetException, IllegalAccessException {
        for (Method m : Logger.class.getDeclaredMethods()) {
            if (!EXCLUDED_METHODS.contains(m.getName())) {
                m.invoke(logger, new Object[m.getParameterTypes().length]);
            }
        }
    }
Test that all SubstituteLogger methods invoke the delegate, except for explicitly excluded  methods.
slf4j-api/src/test/java/org/slf4j/helpers/SubstitutableLoggerTest.java