}
assertNotNull(feed.getRightsElement());
assertEquals(feed.getRightsElement().getTextType(), Text.Type.TEXT);
assertEquals(feed.getRightsElement().getValue(), "Copyright (c) 2003, Mark Pilgrim");
assertNotNull(feed.getGenerator());
Generator generator = feed.getGenerator();
assertEquals(generator.getUri(), new IRI("http://www.example.com/"));
assertEquals(generator.getVersion(), "1.0");
assertNotNull(generator.getText());
assertEquals(generator.getText().trim(), "Example Toolkit");
List<Entry> entries = feed.getEntries();
assertNotNull(entries);
assertEquals(entries.size(), 1);
for (Entry entry : entries) {
assertNotNull(entry.getTitleElement());