assertEquals(0, objectEditor.editors.size());
assertEquals(1, objectEditor.additionalPropertyEditors.size());
}
public void testSchemaAndAdditionalProperties() {
Schema object1 = CustomSchema.objectSchema(EMPTY_PROPERTIES, null, false);
Schema object2 = CustomSchema.objectSchema(EMPTY_PROPERTIES, null, false);
Map<String, Schema> properties = ImmutableMap.of("obj1", object1, "obj2", object2);
Schema additionalProperties = CustomSchema.objectSchema(EMPTY_PROPERTIES, null, false);
ObjectSchemaEditor objectEditor = new ObjectSchemaEditor(schemaForm,
null,
null,
properties,
additionalProperties,