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