public function testAnalyseURI($uri, $expectedFixedUpURI)
{
$matcher = new URIMapMatcher(array());
$matcher->setRequest(new SimplifiedRequest(array('pathinfo' => $uri)));
$this->assertSame($expectedFixedUpURI, $matcher->analyseURI($uri));
// Unserialized matcher should have the same behavior
$unserializedMatcher = unserialize(serialize($matcher));
$this->assertSame($expectedFixedUpURI, $unserializedMatcher->analyseURI($uri));
}