@Test
public void testInvalidParam() throws Exception
{
ClientRequest request = new ClientRequest("http://localhost:8080/RESTEASY-923/test/resource");
request.queryParameter("param", "abc");
ClientResponse<?> response = request.get();
String answer = response.getEntity(String.class);
System.out.println("status: " + response.getStatus());
System.out.println("entity: " + answer);
assertEquals(400, response.getStatus());