@ParameterizedTest
    @EnumSource(SchemaVersion.class)
    public void testSetAdditionalProperties_VoidClass(SchemaVersion schemaVersion) {
        this.collector.setAdditionalProperties(this.definitionNode, BooleanNode.FALSE, this.generateContext(schemaVersion));
        Assertions.assertEquals(1, this.definitionNode.size());
        JsonNode additionalPropertiesNode = this.definitionNode.get(SchemaKeyword.TAG_ADDITIONAL_PROPERTIES.forVersion(schemaVersion));
        Assertions.assertNotNull(additionalPropertiesNode);
        Assertions.assertTrue(additionalPropertiesNode.isBoolean());
        Assertions.assertFalse(additionalPropertiesNode.asBoolean());
    }
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