@Test
    public void testResolveDependentRequiresMethod() {
        List<String> configuredAndExceptedResult = Collections.singletonList("otherMethod");
        MethodScope method = this.getTestClassMethod("getField");
        Mockito.when(this.methodConfigPart.resolveDependentRequires(method)).thenReturn(configuredAndExceptedResult);
        List<String> result = this.instance.resolveDependentRequires(method);
        Assertions.assertEquals(configuredAndExceptedResult, result);
    }
Test for the {@link SchemaGeneratorConfigImpl} class.
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/impl/SchemaGeneratorConfigImplTest.java