@Test
public void test_MatchPatternCompare() {
logger.debug("Test MatchPattern... compare");
// 1. Create the crawler object
Crawler aCrawl = Crawler.getInstance();
String aUrl=aCrawl.createUrl(
CraigslistCategoryEnum.FOR_SALE__COMPUTER,
CraigslistAreasEnum.PENINSULA,
"Apple");
Collection<CrawlResultPackage> aCrawlResultColl=aCrawl.crawlWebPages(aUrl, 100);
String aString=aCrawl.getMatchPattern();
logger.debug("MatchPatter="+aString);
assertTrue(aString.compareTo(".*<a href=\"http://.*.craigslist.*/.*html.*>")==0);