@ParameterizedTest
    @EnumSource(SchemaVersion.class)
    public void testSetAdditionalProperties_Null(SchemaVersion schemaVersion) {
        this.collector.setAdditionalProperties(this.definitionNode, null, this.generateContext(schemaVersion));
        Assertions.assertTrue(this.definitionNode.isEmpty());
    }
Helper method for creating the test context for a given JSON Schema version.

@param schemaVersion designated JSON Schema version
@return schema generation context for the given JSON Schema version
jsonschema-generator/src/test/java/com/github/victools/jsonschema/generator/impl/AttributeCollectorTest.java