Document doc = parse(baseURI.resolve("entry_content_base64_2.xml"));
Feed feed = (Feed)doc.getRoot();
Entry entry = feed.getEntries().get(0);
Content mediaContent = entry.getContentElement();
assertEquals(mediaContent.getMimeType().toString(), "application/octet-stream");
DataHandler dataHandler = mediaContent.getDataHandler();
InputStream in = (ByteArrayInputStream) dataHandler.getContent();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int n = -1;
while ((n = in.read()) > -1) { baos.write(n); }
assertEquals(baos.toString(), "<p>History of the <blink> tag</p>");
}