@ParameterizedTest
    @CsvSource({
        "fieldWithoutGetter, false",
        "fieldWithPrivateGetter, false",
        "fieldWithPublicGetter, true",
        "fieldWithPublicBooleanGetter, true"
    })
    public void testHasGetter(String fieldName, boolean expectedResult) throws Exception {
        FieldScope field = this.getTestClassField(fieldName);
        boolean result = field.hasGetter();

        Assertions.assertEquals(expectedResult, result);
    }
Test for the {@link FieldScope} class.
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/FieldScopeTest.java