@Test
    public void testResolveDependentRequiresField() {
        List<String> configuredAndExceptedResult = Collections.singletonList("otherField");
        FieldScope field = this.getTestClassField("field");
        Mockito.when(this.fieldConfigPart.resolveDependentRequires(field)).thenReturn(configuredAndExceptedResult);
        List<String> result = this.instance.resolveDependentRequires(field);
        Assertions.assertEquals(configuredAndExceptedResult, result);
    }
Test for the {@link SchemaGeneratorConfigImpl} class.
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/impl/SchemaGeneratorConfigImplTest.java