public static RestSettingBuilder get(final String id) {
        return get(eq(checkId(id)));
    }
@Test
    public void should_reply_404_for_unknown_resource() throws Exception {
        server.resource("targets", get("2").response(with(text("hello"))));

        running(server, () -> {
            HttpResponse response = helper.getResponse(remoteUrl("/targets/1"));
            assertThat(response.getCode(), is(404));
        });
    }