### Question:
ParamExample { @Path("string") @GET public String string(@QueryParam("in") String in) { return "string: " + in; }  @Path("string") @GET String string(@QueryParam("in") String in); @Path("primitiveInt") @GET String primitiveInt(@QueryParam("in") int in); @Path("constructor") @GET String constructor(@QueryParam("in") PublicConstructor in); @Path("valueOf") @GET String valueOf(@QueryParam("in") ValueOf in); @Path("fromString") @GET String fromString(@QueryParam("in") FromString in); @Path("valueOfAndFromString") @GET String valueOfAndFromString(@QueryParam("in") ValueOfAndFromString in); @Path("enumFromString") @GET String enumFromString(@QueryParam("in") EnumFromString in); @Path("converter") @GET String converter(@QueryParam("in") ParamConverted in);  }### Answer:
@Test public void Stringクラス() throws Exception { String out = jerseyTester.target("ParamExample").path("string") .queryParam("in", "x").request().get(String.class); assertThat(out, is("string: x")); }
@Test public void Stringの引数をひとつだけ受け取るコンストラクタ() throws Exception { String out = jerseyTester.target("ParamExample").path("constructor") .queryParam("in", "x").request().get(String.class); assertThat(out, is("constructor: x")); }