public function testsetupResourceManagement() { $SugarApplication = new SugarApplication(); //execute the method with invalid input and test if it works and does not throws an exception. try { $SugarApplication->setupResourceManagement(''); } catch (Exception $e) { $this->fail(); } //execute the method with valid input and test if it works and does not throws an exception. try { $SugarApplication->setupResourceManagement('Users'); } catch (Exception $e) { $this->fail(); } $this->assertTrue(true); }