@Test public void addEntry() { instance.addEntry(null); Assert.assertNotNull(instance.getEntries()); }
public void addEntry(FeedEntry entry) { if (entries == null) entries = new ArrayList<FeedEntry>(); entries.add(entry); }
FeedImpl implements Feed { public void addEntry(FeedEntry entry) { if (entries == null) entries = new ArrayList<FeedEntry>(); entries.add(entry); } }
FeedImpl implements Feed { public void addEntry(FeedEntry entry) { if (entries == null) entries = new ArrayList<FeedEntry>(); entries.add(entry); } FeedImpl(Type type, String uri, Content title, Content description, String link); }
FeedImpl implements Feed { public void addEntry(FeedEntry entry) { if (entries == null) entries = new ArrayList<FeedEntry>(); entries.add(entry); } FeedImpl(Type type, String uri, Content title, Content description, String link); Type getType(); String getLink(); void setLink(String link); void addAuthor(Person author); void addContributor(Person contributor); void addEntry(FeedEntry entry); void addLink(Link link); void addModule(FeedExtension module); List<Person> getAuthors(); List<Category> getCategories(); List<Person> getContributors(); String getCopyright(); Content getDescription(); String getEncoding(); List<FeedEntry> getEntries(); Image getImage(); String getLanguage(); List<Link> getLinks(); FeedExtension getModule(String uri); List<FeedExtension> getModules(); Date getPublishedDate(); Date getUpdatedDate(); Content getTitle(); String getUri(); void setAuthors(List<Person> authors); void setCategories(List<Category> categories); void setContributors(List<Person> contributors); void setCopyright(String copyright); void setDescription(String description); void setDescription(Content description); void setEncoding(String encoding); void setEntries(List<FeedEntry> entries); void setImage(Image image); void setLanguage(String language); void setLinks(List<Link> links); void setModules(List<FeedExtension> modules); void setPublishedDate(Date publishedDate); void setUpdatedDate(Date updatedDate); void setTitle(String title); void setTitle(Content title); void setUri(String uri); }
FeedImpl implements Feed { public void addEntry(FeedEntry entry) { if (entries == null) entries = new ArrayList<FeedEntry>(); entries.add(entry); } FeedImpl(Type type, String uri, Content title, Content description, String link); Type getType(); String getLink(); void setLink(String link); void addAuthor(Person author); void addContributor(Person contributor); void addEntry(FeedEntry entry); void addLink(Link link); void addModule(FeedExtension module); List<Person> getAuthors(); List<Category> getCategories(); List<Person> getContributors(); String getCopyright(); Content getDescription(); String getEncoding(); List<FeedEntry> getEntries(); Image getImage(); String getLanguage(); List<Link> getLinks(); FeedExtension getModule(String uri); List<FeedExtension> getModules(); Date getPublishedDate(); Date getUpdatedDate(); Content getTitle(); String getUri(); void setAuthors(List<Person> authors); void setCategories(List<Category> categories); void setContributors(List<Person> contributors); void setCopyright(String copyright); void setDescription(String description); void setDescription(Content description); void setEncoding(String encoding); void setEntries(List<FeedEntry> entries); void setImage(Image image); void setLanguage(String language); void setLinks(List<Link> links); void setModules(List<FeedExtension> modules); void setPublishedDate(Date publishedDate); void setUpdatedDate(Date updatedDate); void setTitle(String title); void setTitle(Content title); void setUri(String uri);  }