### Question:
HelloResource { @GET public String hello() { return "Hello world!"; }  @GET String hello();  }### Answer:
@Test public void testHello() { assertEquals("Hello world!", target("/").request().get(String.class)); }