Ejemplo n.º 1
0
 public function testGetBaseDir()
 {
     $this->controller->getBasedir()->willReturn("/home/ethna");
     $backend = new Ethna_Mock_Backend($this->controller->reveal());
     $this->assertEquals("/home/ethna", $backend->getBasedir());
 }
Ejemplo n.º 2
0
 /**
  *  アプリケーションのベースディレクトリを取得する
  *
  *  @access public
  *  @return string  ベースディレクトリのパス名
  */
 public function getBasedir()
 {
     return $this->controller->getBasedir();
 }