final String linkAdr = "http://www.semagia.com/link";
final URI link = URI.create(linkAdr);
final String id = "http://www.semagia.com/test";
final String title = "title";
final long updated = now();
final MediaType mt = MediaType.ATOM_XML;
final String sid = "http://psi.semagia.com/subject-identifier";
final IResource res = new Resource(sid);
final IFragmentInfo fragInfo = new FragmentInfo(id, title, updated, mt, "fragId", res);
feed.addEntry(fragInfo, link);
assertEquals(1, feed.getEntries().size());