### Question:
HelloSecurity { @GET @Path("/") @PermitAll public static String hello() { return "Hello world!"; }  @GET @Path("/") @PermitAll static String hello(); @GET @Path("/secret") @RolesAllowed("user") static String secret(); @GET @Path("/admin") @RolesAllowed("admin") static String admin(); static void main(final String[] args);  }### Answer:
@Test public void testHello() { assertEquals("Hello world!", target("/").request().get(String.class)); }