public createRouter ( string[] | null $methods = null ) : |
||
$methods | string[] | null | |
return |
public function createRouter($methods = null)
{
$mock = $this->getMock(RouterComposite::class, $methods, [], '', false);
$this->setProtectedProperty($this->channel, 'router', $mock);
return $mock;
}