List<Entry> entries = feed.getEntries();
for (Entry entry : entries) {
Content content = entry.getContentElement();
assertNotNull(content);
assertEquals(content.getContentType(), Content.Type.MEDIA);
assertEquals(content.getResolvedSrc(), uri.resolve("2003/12/12/atom03.pdf"));
}
}
public static void testSection4132ContentSrcTypeHtml() throws Exception {
//http://feedvalidator.org/testcases/atom/4.1.3.2/content-src-type-html.xml