@expectedException \Symfony\Component\Routing\Exception\InvalidParameterException
public function testDefaultRequirementOfVariableDisallowsSlash() {
$routes = $this
->getRoutes('test', new Route('/{page}.{_format}'));
$this
->getGenerator($routes)
->generate('test', array(
'page' => 'index',
'_format' => 'sl/ash',
));
}