@Test
public void toString_ReadOnlyWriteOnly() {

    Schema subject = StringSchema.builder().readOnly(true).writeOnly(false).build();
    JSONObject actual = new JSONObject(subject.toString());
    JSONObject expected = ResourceLoader.DEFAULT.readObj("tostring/stringschema-readonly-true-writeonly-false.json");
    assertThat(actual, sameJsonAs(expected));
}