@expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException
public function testDefaultRequirementOfVariableDisallowsNextSeparator() {
$coll = new RouteCollection();
$coll
->add('test', new Route('/{page}.{_format}', array(), array(
'_format' => 'html|xml',
)));
$matcher = new UrlMatcher($coll, new RequestContext());
$matcher
->match('/do.t.html');
}