@ParameterizedTest
    @MethodSource("parametersForTestIgnoreCheck")
    public void testIgnoreCheck(String testMethodName, String supplierMethodName, boolean ignored) throws Exception {
        MethodExclusionModule moduleInstance = (MethodExclusionModule) MethodExclusionModule.class.getMethod(supplierMethodName).invoke(null);
        moduleInstance.applyToConfigBuilder(this.builder);

        MethodScope method = this.getTestClassMethod(testMethodName);
        Assertions.assertEquals(ignored, this.methodConfigPart.shouldIgnore(method));
    }
Test for the {@link MethodExclusionModule} class.
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/impl/module/MethodExclusionModuleTest.java