Example #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->router = new PKPComponentRouter();
 }
Example #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')));
 }