assertBookstoreHtmlResponse(target().request().get(String.class));
}
@Test
public void testResourceAsXml() throws Exception {
final Bookstore response = target().request("application/xml").get(Bookstore.class);
assertNotNull("Should have returned a bookstore!", response);
assertEquals("bookstore name", "Czech Bookstore", response.getName());
}