* @throws InstantiationException
* @throws IllegalAccessException
*/
@Test
public void testDetectExtractorPlugins() throws IOException, InstantiationException, IllegalAccessException {
final ExtractorGroup extractorGroup = manager.getApplicableExtractors(
new ExtractorRegistryImpl(),
HTML_SCRAPER_TARGET_DIR, // Required to satisfy class dependencies.
HTML_SCRAPER_DEPENDENCY_DIR,
OFFICE_SCRAPER_TARGET_DIR
, OFFICE_SCRAPER_DEPENDENCY_DIR // Required to satisfy class dependencies.
);
assertEquals("Did not find the number of expected extractors", NUM_OF_EXTRACTORS , // HTMLScraper Plugin, OfficeScraper Plugin.
extractorGroup.getNumOfExtractors()
);
}