### Question:
FeedDiscovery { public FeedDiscovery(Searcher<?> searcher, File resultFilePath, int numThreads, int numResults, boolean csvOutput) { Validate.notNull(searcher, "webSearcher must not be null"); Validate.isTrue(numThreads > 0, "numThreads must be greater zero"); Validate.isTrue(numResults > 0, "numResults must be greater zero"); this.searcher = searcher; this.resultFilePath = resultFilePath; this.numThreads = numThreads; this.numResults = numResults; this.csvOutput = csvOutput; } 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 @Ignore public void testFeedDiscovery() throws FileNotFoundException { assertEquals(2, FeedDiscovery.discoverFeeds(ResourceHelper.getResourceFile("/pageContentExtractor/test006.html")).size()); assertEquals(8, FeedDiscovery.discoverFeeds(ResourceHelper.getResourceFile("/pageContentExtractor/test201.html")).size()); assertEquals(1, FeedDiscovery.discoverFeeds(ResourceHelper.getResourceFile("/pageContentExtractor/test202.html")).size()); assertEquals(1, FeedDiscovery.discoverFeeds(ResourceHelper.getResourceFile("/pageContentExtractor/test204.html")).size()); assertEquals(1, FeedDiscovery.discoverFeeds(ResourceHelper.getResourceFile("/pageContentExtractor/test207.html")).size()); assertEquals(0, FeedDiscovery.discoverFeeds(ResourceHelper.getResourceFile("/pageContentExtractor/test206.html")).size()); List<DiscoveredFeed> feeds = FeedDiscovery.discoverFeeds(ResourceHelper.getResourceFile("/pageContentExtractor/test001.html")); assertEquals("http: feeds = FeedDiscovery.discoverFeeds(ResourceHelper.getResourceFile("/pageContentExtractor/test004.html")); assertEquals(3, feeds.size()); assertEquals("http: assertEquals("http: assertEquals("http: }