public function testAnalyseLink()
 {
     $siteAccessURI = '/footestbar';
     $semanticURI = '/something/hoho';
     $matcher = new URITextMatcher(array('prefix' => 'foo', 'suffix' => 'bar'));
     $matcher->setRequest(SimplifiedRequest::fromUrl('http://phoenix-rises.fm/footestbar/blabla'));
     $this->assertSame($siteAccessURI . $semanticURI, $matcher->analyseLink($semanticURI));
 }
 public function testAnalyseLink()
 {
     $siteAccessURI = "/footestbar";
     $semanticURI = "/something/hoho";
     $matcher = new URITextMatcher(array("prefix" => "foo", "suffix" => "bar"));
     $matcher->setRequest(SimplifiedRequest::fromUrl("http://phoenix-rises.fm/footestbar/blabla"));
     $this->assertSame($siteAccessURI . $semanticURI, $matcher->analyseLink($semanticURI));
 }