public function testNoTrailingSlashForMultipleOptionalParameters() {
$routes = $this
->getRoutes('test', new Route('/category/{slug1}/{slug2}/{slug3}', array(
'slug2' => null,
'slug3' => null,
)));
$this
->assertEquals('/app.php/category/foo', $this
->getGenerator($routes)
->generate('test', array(
'slug1' => 'foo',
)));
}