@Test
public void testXmlRootElement() throws Exception
{
before();
ResteasyWebTarget target = client.target(generateURL("/xmlRootElement"));
FavoriteMovieXmlRootElement movie = new FavoriteMovieXmlRootElement();
movie.setTitle("La Regle du Jeu");
Response response = target.request().post(Entity.entity(movie,"application/xml"));
Assert.assertEquals(200, response.getStatus());
String entity = response.readEntity(String.class);
System.out.println("Result: " + entity);
Assert.assertEquals("La Regle du Jeu", entity);
}