@Test
    public void testGetTypeAttributeOverrides() {
        TypeAttributeOverrideV2 typeOverride = (typeNode, type, c) -> typeNode.put("$comment", type.getSimpleTypeDescription());
        Mockito.when(this.typesInGeneralConfigPart.getTypeAttributeOverrides()).thenReturn(Collections.singletonList(typeOverride));

        List<TypeAttributeOverrideV2> result = this.instance.getTypeAttributeOverrides();
        Assertions.assertEquals(1, result.size());
        Assertions.assertSame(typeOverride, result.get(0));
    }
Test for the {@link SchemaGeneratorConfigImpl} class.
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/impl/SchemaGeneratorConfigImplTest.java