public function testfill_in_additional_detail_fields() { //unset and reconnect Db to resolve mysqli fetch exeception global $db; unset($db->database); $db->checkConnection(); $mergeRecord = new MergeRecord(); $mergeRecord->load_merge_bean('Users', false, 1); //execute the method and test if it works and does not throws an exception. try { $mergeRecord->fill_in_additional_detail_fields(); $this->assertTrue(true); } catch (Exception $e) { $this->fail(); } }