@expectedException \LogicException
public function testRouteWithSameVariableTwice() { $route = new Route('/{name}/{name}'); $compiled = $route ->compile(); }