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