StatusService { @GET @Produces(MediaType.APPLICATION_JSON) public Response status() { return Response.ok().build(); }  @GET @Produces(MediaType.APPLICATION_JSON) Response status();  }
@Test public void testStatus() { Response r = target("/status").request().get(); assertEquals(Status.OK.getStatusCode(), r.getStatus()); }