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