final long updated = now();
final MediaType mt = MediaType.ATOM_XML;
final ISnapshotInfo snapInfo = new SnapshotInfo(id, title, updated, mt, "snapId");
feed.addEntry(snapInfo, link);
assertEquals(1, feed.getEntries().size());
final ISnapshotEntry entry = feed.getEntries().iterator().next();
assertNotNull(entry);
assertEquals(id, entry.getId());
assertEquals(title, entry.getTitle());
assertEquals(linkAdr, entry.getLink());
assertEquals(updated, entry.getUpdated());
assertEquals(1, entry.getMediaTypes().size());
assertEquals(mt, entry.getMediaTypes().iterator().next());
}