setUpVfsDir(); $this->mockApp($this->root); $this->assertNull($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 = new BaseObject(); $baseObject->getApp(); } }