@Test
public void testCreateEntry() {		

	Entry entry = abdera.newEntry();
	entry.setId("foo");
	entry.setTitle("test entry");
	entry.setContent("Test Content");
	entry.addLink("http://example.org");
	entry.setUpdated(new Date());
	entry.addAuthor("david");
	ClientResponse resp = client.post("http://localhost:9002/hibernate", entry);
	assertNotNull(resp);
	assertEquals(ResponseType.SUCCESS, resp.getType());
	assertEquals(201, resp.getStatus());
	assertEquals("http://localhost:9002/hibernate/foo", resp.getLocation().toString());
	resp = client.get("http://localhost:9002/hibernate");
	Document<Feed> feed_doc = resp.getDocument();
	Feed feed = feed_doc.getRoot();
	assertEquals(feed.getEntries().size(), 1);
	resp.release();
}