public function testable_process_set_batch_marking_allocation($selectedusers, $markerid) { global $CFG; require_once $CFG->dirroot . '/mod/setask/batchsetallocatedmarkerform.php'; // Simulate the form submission. $data = array(); $data['id'] = $this->get_course_module()->id; $data['selectedusers'] = $selectedusers; $data['allocatedmarker'] = $markerid; $data['action'] = 'setbatchmarkingallocation'; mod_setask_batch_set_allocatedmarker_form::mock_submit($data); return parent::process_set_batch_marking_allocation(); }