public function testloadDisplaySettings() { $SugarApplication = new SugarApplication(); //execute the method and test if it works and does not throws an exception. try { $SugarApplication->loadDisplaySettings(); } catch (Exception $e) { $this->fail(); } $this->assertTrue(true); }