public function testGetAppInstallDir() { $this->_application->expects($this->once())->method('getInstallDir')->will($this->returnValue(__DIR__)); $this->assertEquals(__DIR__, $this->_object->getAppInstallDir()); }