示例#1
0
 public function case_an_optional_argument_is_missing()
 {
     $this->given($router = new MockRouter(), $router->get('a', '(?<foo>foo)', __CLASS__, 'dispatchedMethodOptional'), $this->route($router, 'foo'), $dispatcher = new LUT\ClassMethod(), $dispatcher->getParameters()->setParameters(['synchronous.call' => '(:call:U:)', 'synchronous.able' => '(:able:)']))->when($dispatcher->dispatch($router));
 }