StatusResource { @GET @Path("health") public String health() { return "OK"; }  @GET @Path("health") String health(); static final String STATUS_ENDPOINT; }
@Test public void testHealth() { String result = underTest.health(); assertEquals("OK", result); }