public function setUp() { $this->router = new ChainRouter($this ->getMock('Psr\\Log\\LoggerInterface')); $this->context = $this ->getMock('Symfony\\Component\\Routing\\RequestContext'); }