@Test
public void toStringWithDefault() {

    JSONObject rawSchemaJson = loader.readObj("tostring/objectschema-default.json");
    Schema schema = ObjectSchema.builder()
            .addPropertySchema("a", EmptySchema.builder()
                    .defaultValue(new JSONObject("{\"description\":\"default empty value\"}"))
                    .build())
            .build();
    String actual = schema.toString();
    assertThat(new JSONObject(actual), sameJsonAs(rawSchemaJson));
}