/**
  * Checks that base HREF is extracted correctly
  *
  * @return void
  */
 public function textExtractBaseHref()
 {
     $baseHref = 'http://example.com/';
     $html = '<html><head><Base Href="' . $baseHref . '" /></head></html>';
     $result = $this->indexer->extractHyperLinks($html);
     $this->assertEquals($baseHref, $result, 'Incorrect base href was extracted');
 }