@Test
public void testGetFeed() {

	ClientResponse resp = client.get("http://localhost:9002/hibernate");
	assertNotNull(resp);
	assertEquals(ResponseType.SUCCESS, resp.getType());
    assertTrue(MimeTypeHelper.isMatch(resp.getContentType().toString(), Constants.ATOM_MEDIA_TYPE));
    Document<Feed> doc = resp.getDocument();
    Feed feed = doc.getRoot();
    assertEquals("http://localhost:9002/hibernate", feed.getId().toString());	    
    assertEquals("david", feed.getAuthor().getName());
    assertEquals(0, feed.getEntries().size());
    resp.release();	    
}