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