Example #1
0
 /**
  * @expectedException RuntimeException
  */
 public function testThrowsWhenNotEnoughParamsPassedToUrl()
 {
     $router = new Router();
     $router->attach('foo', '/foo/{id}', 'SimpleController::indexAction');
     $router->gentUrl('foo');
 }