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

        FieldScope field = this.getTestClassField(testFieldName);
        Assertions.assertEquals(ignored, this.fieldConfigPart.shouldIgnore(field));
    }
Test for the {@link FieldExclusionModule} class.
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/impl/module/FieldExclusionModuleTest.java