/**
  * Test delRowsByStudentIdAndAssignmentName().
  */
 public function testdelRowsByStudentIdAndAssignmentName()
 {
     $this->resetMyArray();
     $temp_student_id = 'abcdefg';
     $temp_assignment_name = 'hijklmn';
     $this->myArray['tA_S_ID'] = $temp_student_id;
     $this->myArray['tG_AssignmentName'] = $temp_assignment_name;
     $ac_class_instance = new AssignmentsClass();
     // Next insure no previous lessons for this student.
     $ac_class_instance->delRowsByStudentId($temp_student_id);
     $this->assertTrue(isset($ac_class_instance));
     $result = $ac_class_instance->insertRecord($this->myArray);
     $this->assertTrue($result === 1);
     $this->assertTrue(isset($ac_class_instance));
     // Now delete the row.
     $result = $ac_class_instance->delRowsByStudentIdAndAssignmentName($temp_student_id, $temp_assignment_name);
     $result = $this->assertTrue($result === 1);
     // Now try deleting the row again  -- should not be one to delete.
     $result = $ac_class_instance->delRowsByStudentId($temp_student_id);
     $this->assertTrue($result === 0);
 }