final Response queryParamResponse = target.path("queryParam").queryParam("q", "123").request().get();
assertThat(queryParamResponse.getStatus(), is(200));
assertThat(queryParamResponse.readEntity(String.class), is("123"));
final Response matrixParamResponse = target.path("matrixParam").matrixParam("m", "456").request().get();
assertThat(matrixParamResponse.getStatus(), is(200));
assertThat(matrixParamResponse.readEntity(String.class), is("456"));
final Response headerParamResponse = target.path("headerParam").request().header("Custom-Header", "789").get();
assertThat(headerParamResponse.getStatus(), is(200));