protected function setUp() { parent::setUp(); $this->router = new PKPComponentRouter(); }
protected function setUp() { parent::setUp(); $this->router = $this->getMock('PKPPageRouter', array('getCacheablePages')); $this->router->expects($this->any())->method('getCacheablePages')->will($this->returnValue(array('cacheable'))); }