### Question:
FeedDiscovery { public static List<DiscoveredFeed> discoverFeeds(String pageUrl) { List<DiscoveredFeed> result = null; Document document = null; try { HttpResult httpResult = httpRetriever.httpGet(pageUrl); document = parser.parse(httpResult); } catch (Throwable t) { LOGGER.error("Error retrieving {} : {} ; {}", pageUrl, t.toString(), t.getMessage()); } if (document != null) { result = discoverFeeds(document); } return result; } FeedDiscovery(Searcher<?> searcher, File resultFilePath, int numThreads, int numResults, boolean csvOutput); static List<DiscoveredFeed> discoverFeeds(String pageUrl); static List<DiscoveredFeed> discoverFeeds(File file); static List<DiscoveredFeed> discoverFeeds(Document document); void findFeeds(); void addQuery(String query); void addQueries(Collection<String> queries); void addQueries(String filePath); void combineQueries(int targetCount);  }### Answer:
@Test public void testFeedDiscovery2() throws FileNotFoundException { List<DiscoveredFeed> temp = FeedDiscovery.discoverFeeds(ResourceHelper.getResourceFile("/feedDiscoveryPage.html")); assertEquals(9, temp.size()); for (DiscoveredFeed t : temp) { assertEquals("http: } }