private static Set<String> determineMethodSignatures(Class<Logger> loggerClass) {
        Set<String> methodSignatures = new HashSet<>();
        // Note: Class.getDeclaredMethods() does not include inherited methods
        for (Method m : loggerClass.getDeclaredMethods()) {
            if (!EXCLUDED_METHODS.contains(m.getName())) {
                methodSignatures.add(m.toString());
            }
        }
        return methodSignatures;
    }
Test that all SubstituteLogger methods invoke the delegate, except for explicitly excluded  methods.
slf4j-api/src/test/java/org/slf4j/helpers/SubstitutableLoggerTest.java