8788899091929394959697
final String patched = String.format("%s_patch", original); key.patch( Json.createObjectBuilder().add(KEY, patched).build() ); MatcherAssert.assertThat( key.json().getString(KEY), Matchers.equalTo(patched) ); } }