@Test(expected = SchemaException.class)
public void schemaForNoAdditionalProperties() {

    ObjectSchema.builder().additionalProperties(false)
            .schemaOfAdditionalProperties(BooleanSchema.INSTANCE).build();
}