public function testAnalyseURI($level, $uri, $expectedFixedUpURI)
{
$matcher = new URIElementMatcher(array($level));
$matcher->setRequest(new SimplifiedRequest(array('pathinfo' => $uri)));
$this->assertSame($expectedFixedUpURI, $matcher->analyseURI($uri));
}