@Test
    public void testShouldCreateDefinitionsForAllObjects_optionEnabled() {
        this.enabledOptions.add(Option.DEFINITIONS_FOR_ALL_OBJECTS);
        boolean specificallyEnabled = this.instance.shouldCreateDefinitionsForAllObjects();
        Assertions.assertTrue(specificallyEnabled);
    }
Test for the {@link SchemaGeneratorConfigImpl} class.
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/impl/SchemaGeneratorConfigImplTest.java