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