static Stream<Arguments> annotationLookupScenarios() {
        return Stream.of(
                Arguments.of(NonAnnotatedClass.class, Optional.empty()),
                Arguments.of(AnnotatedClassWithUselessAnnotations.class, Optional.empty()),
                Arguments.of(DirectlyAnnotatedClass.class, Optional.of("")),
                Arguments.of(BothDirectAndIndirectlyAnnotatedClass.class, Optional.of("direct value")),
                Arguments.of(IndirectlyAnnotatedClass.class, Optional.of("first combo annotation value")),
                Arguments.of(BreadthFirstAnnotatedClass.class, Optional.of("first combo annotation value"))
        );
    }
Unit test class dedicated to the validation of {@link AnnotationHelper}.
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/AnnotationHelperTest.java