*/
@Test
public void testHandleReloadedWithAsyncLoadingOfEquivalentNews() throws Exception {
IFeed feed0 = fFactory.createFeed(null, new URI("http://www.feed2.com"));
URI newsLink = new URI("http://www.news.com");
INews news0 = fFactory.createNews(null, feed0, new Date());
news0.setLink(newsLink);
news0.setState(INews.State.READ);
DynamicDAO.save(feed0);
IFolder folder = fFactory.createFolder(null, null, "Folder");
IBookMark mark0 = fFactory.createBookMark(null, folder, new FeedLinkReference(feed0.getLink()), "Mark0");
DynamicDAO.save(folder);
fAppService.handleFeedReload(mark0, feed0, null, false);
IFeed feed1 = fFactory.createFeed(null, new URI("http://www.feed1.com"));
DynamicDAO.save(feed1);
IBookMark mark1 = fFactory.createBookMark(null, folder, new FeedLinkReference(feed1.getLink()), "Mark1");
DynamicDAO.save(folder);
feed1 = fFactory.createFeed(null, new URI("http://www.feed1.com"));
INews news1 = fFactory.createNews(null, feed1, new Date());
news1.setLink(newsLink);
fAppService.handleFeedReload(mark1, feed1, null, false);
assertEquals(INews.State.READ, DynamicDAO.load(INews.class, news1.getId()).getState());
}