@ParameterizedTest
    @MethodSource("parametersForTestEnumResolver")
    public void testEnumResolver(String fieldName, Collection<?> expectedResult) throws Exception {
        this.instance.applyToConfigBuilder(this.builder);

        FieldScope field = this.getTestClassField(fieldName);
        Collection<?> result = this.fieldConfigPart.resolveEnum(field);
        Assertions.assertEquals(expectedResult, result);
    }
Test for the {@link ConstantValueModule} class.
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/impl/module/ConstantValueModuleTest.java