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