/**
* @throws Exception
*/
@Test
public void testOrphanedSearchMarks() throws Exception {
IFolderChild root = fFactory.createFolder(null, null, "Root");
IFolderChild subfolder = fFactory.createFolder(null, (IFolder) root, "Sub Folder");
IFeed feed = fFactory.createFeed(null, new URI("http://www.rssowl.org"));
DynamicDAO.save(feed);
IFolderChild bm1 = fFactory.createBookMark(null, (IFolder) root, new FeedLinkReference(feed.getLink()), "Bookmark 1");
IFolderChild bin1 = fFactory.createNewsBin(null, (IFolder) root, "Bin 1");
DynamicDAO.save(root);
ISearchField locationField = fFactory.createSearchField(INews.LOCATION, INews.class.getName());
ISearchField allField = fFactory.createSearchField(IEntity.ALL_FIELDS, INews.class.getName());