コード例 #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->router = new PKPComponentRouter();
 }
コード例 #2
0
ファイル: PKPPageRouterTest.php プロジェクト: doana/pkp-lib
 protected function setUp()
 {
     parent::setUp();
     $this->router = $this->getMock('PKPPageRouter', array('getCacheablePages'));
     $this->router->expects($this->any())->method('getCacheablePages')->will($this->returnValue(array('cacheable')));
 }