*/
@Test
public void canPatchJson() throws Exception {
final Pull pull = repo().pulls().create("Test Patch", "def", "abc");
final String value = "someValue";
pull.patch(
Json.createObjectBuilder().add("patch", value).build()
);
MatcherAssert.assertThat(
pull.json().getString("patch"),
Matchers.equalTo(value)