public function testRelativeUrlWithParameter() {
$routes = $this
->getRoutes('test', new Route('/testing/{foo}'));
$url = $this
->getGenerator($routes)
->generate('test', array(
'foo' => 'bar',
), false);
$this
->assertEquals('/app.php/testing/bar', $url);
}