public void testLinkExtractorWithMetaTags() throws Exception {
String html = readFromFile("parser-files/meta-nofollow.html");
String url = "http://domain.com/meta-nofollow.html";
String contentType = "text/html; charset=utf-8";
HttpHeaders headers = new HttpHeaders();
headers.add(HttpHeaderNames.CONTENT_TYPE, contentType);
ContentBytes content = new ContentBytes(html.getBytes("utf-8"));
FetchedDatum fetchedDatum = new FetchedDatum(url, url, System.currentTimeMillis(), headers, content, contentType, 0);
ParserPolicy policy = new ParserPolicy(Integer.MAX_VALUE);
SimpleParser parser = new SimpleParser(policy);