Assert.assertEquals(200, response2.getStatus());
System.out.println(response2.getEntity());
request = new ClientRequest(generateURL("/map/wrapped"));
request.body("application/xml", xml);
ClientResponse<Map<String, Foo>> response = request.post(new GenericType<Map<String, Foo>>()
{
});
Assert.assertEquals(200, response.getStatus());
Map<String, Foo> map = response.getEntity();
Assert.assertEquals(2, map.size());