public static RestSettingBuilder patch(final RestIdMatcher idMatcher) {
        return single(HttpMethod.PATCH, checkNotNull(idMatcher, "ID Matcher should not be null"));
    }
@Test
    public void should_patch() throws Exception {
        server.resource("targets",
                patch("1").response(with(text("patch result")))
        );

        running(server, () -> assertThat(helper.patchForResponse(remoteUrl("/targets/1"), "result"), is("patch result")));
    }