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