Exemplo n.º 1
0
 public function testRestrictions()
 {
     $data = ['controller' => '\\w+', 'id' => '\\d+'];
     $this->route->setRestrictions($data);
     self::assertEquals($data, $this->route->getRestrictions());
 }