setUpVfsDir(); $this->mockApp($this->root); $baseObject->setApp($this->app); $this->assertEquals($this->app, $baseObject->getApp()); } /** * Test the getApp() function without App * @expectedException Friendica\Network\HTTPException\InternalServerErrorException * @runInSeparateProcess * @preserveGlobalState disabled */ public function testGetAppFailed() { BaseObject::getApp(); } }