public function testgetModuleMenuHTML() { $SugarView = new SugarView(); //execute the method and check if it works and doesn't throws an exception try { $SugarView->getModuleMenuHTML(); } catch (Exception $e) { $this->fail(); } $this->assertTrue(true); }