@Test
public void testResourceAsXml() throws Exception {
final String text = item1resource().request("application/xml").get(String.class);
System.out.println("Item XML is: " + text);
final Book response = item1resource().request("application/xml").get(Book.class);
assertNotNull("Should have returned an item!", response);
assertEquals("item title", "Svejk", response.getTitle());
}