final String result1 = client.target(generateURL("/form")).request().post(Entity.form(new Form().param("value", "value")), String.class);
Assert.assertEquals(result1, "value");
Form form = new Form().param("bill", "burke").param("foo", "bar");
Form rtn = proxy.post(form);
Assert.assertEquals(rtn.asMap().size(), form.asMap().size());
Assert.assertEquals(rtn.asMap().getFirst("bill"), "burke");
Assert.assertEquals(rtn.asMap().getFirst("foo"), "bar");
}
finally