public static RestSettingBuilder delete(final RestIdMatcher idMatcher) {
        return single(HttpMethod.DELETE, checkNotNull(idMatcher, "ID Matcher should not be null"));
    }
@Test
    public void should_delete_with_response() throws Exception {
        server.resource("targets",
                delete("1").response(status(409))
        );

        running(server, () -> {
            HttpResponse httpResponse = helper.deleteForResponse(remoteUrl("/targets/1"));
            assertThat(httpResponse.getCode(), is(409));
        });
    }