/** * This function tests to see that the grouping name gets correctly stored and retrieved * in the class. * */ public function test_get_grouping_name() { $sgs = new skills_group_setting($this->courseid); // Test new record creation. $sgs->update_record($this->get_skills_group_settings()); $this->assertEquals($sgs->get_grouping_name(), $this->groupingname); }