public function testGetAppTempDir() { $this->_application->expects($this->once())->method('getTempDir')->will($this->returnValue(__DIR__)); $this->assertEquals(__DIR__, $this->_object->getAppTempDir()); }