Program: 62898
Project: 62898
Buggy source:
@Test public void testGetStudentsForGoogleId() throws Exception {
  restoreTypicalDataInDatastore();
  ______TS("String_Node_Str");
  restoreTypicalDataInDatastore();
  StudentAttributes studentInOneCourse=dataBundle.students.get("String_Node_Str");
  assertEquals(1,studentsLogic.getStudentsForGoogleId(studentInOneCourse.googleId).size());
  assertEquals(studentInOneCourse.email,studentsLogic.getStudentsForGoogleId(studentInOneCourse.googleId).get(0).email);
  assertEquals(studentInOneCourse.name,studentsLogic.getStudentsForGoogleId(studentInOneCourse.googleId).get(0).name);
  assertEquals(studentInOneCourse.course,studentsLogic.getStudentsForGoogleId(studentInOneCourse.googleId).get(0).course);
  ______TS("String_Node_Str");
  StudentAttributes studentInTwoCoursesInCourse1=dataBundle.students.get("String_Node_Str");
  List<StudentAttributes> listReceivedUsingStudentInCourse1=studentsLogic.getStudentsForGoogleId(studentInTwoCoursesInCourse1.googleId);
  assertEquals(2,listReceivedUsingStudentInCourse1.size());
  StudentAttributes studentInTwoCoursesInCourse2=dataBundle.students.get("String_Node_Str");
  List<StudentAttributes> listReceivedUsingStudentInCourse2=studentsLogic.getStudentsForGoogleId(studentInTwoCoursesInCourse2.googleId);
  assertEquals(2,listReceivedUsingStudentInCourse2.size());
  StudentAttributes firstStudentReceived=listReceivedUsingStudentInCourse1.get(0);
  assertEquals(studentInTwoCoursesInCourse2.email,firstStudentReceived.email);
  assertEquals(studentInTwoCoursesInCourse2.name,firstStudentReceived.name);
  assertEquals(studentInTwoCoursesInCourse2.course,firstStudentReceived.course);
  StudentAttributes secondStudentReceived=listReceivedUsingStudentInCourse1.get(1);
  assertEquals(studentInTwoCoursesInCourse1.email,secondStudentReceived.email);
  assertEquals(studentInTwoCoursesInCourse1.name,secondStudentReceived.name);
  assertEquals(studentInTwoCoursesInCourse1.course,secondStudentReceived.course);
  ______TS("String_Node_Str");
  assertEquals(0,studentsLogic.getStudentsForGoogleId("String_Node_Str").size());
  ______TS("String_Node_Str");
  try {
    studentsLogic.getStudentsForGoogleId(null);
    signalFailureToDetectException();
  }
 catch (  AssertionError a) {
    assertEquals(Const.StatusCodes.DBLEVEL_NULL_INPUT,a.getMessage());
  }
}

Fixed version (ground truth):
@Test public void testGetStudentsForGoogleId() throws Exception {
  restoreTypicalDataInDatastore();
  ______TS("String_Node_Str");
  StudentAttributes studentInCourse1=dataBundle.students.get("String_Node_Str");
  assertEquals(1,studentsLogic.getStudentsForGoogleId(studentInCourse1.googleId).size());
  assertEquals(studentInCourse1.email,studentsLogic.getStudentsForGoogleId(studentInCourse1.googleId).get(0).email);
  assertEquals(studentInCourse1.name,studentsLogic.getStudentsForGoogleId(studentInCourse1.googleId).get(0).name);
  assertEquals(studentInCourse1.course,studentsLogic.getStudentsForGoogleId(studentInCourse1.googleId).get(0).course);
  ______TS("String_Node_Str");
  StudentAttributes studentInTwoCoursesInCourse1=dataBundle.students.get("String_Node_Str");
  List<StudentAttributes> listReceivedUsingStudentInCourse1=studentsLogic.getStudentsForGoogleId(studentInTwoCoursesInCourse1.googleId);
  assertEquals(2,listReceivedUsingStudentInCourse1.size());
  StudentAttributes studentInTwoCoursesInCourse2=dataBundle.students.get("String_Node_Str");
  List<StudentAttributes> listReceivedUsingStudentInCourse2=studentsLogic.getStudentsForGoogleId(studentInTwoCoursesInCourse2.googleId);
  assertEquals(2,listReceivedUsingStudentInCourse2.size());
  StudentAttributes firstStudentReceived=listReceivedUsingStudentInCourse1.get(0);
  assertEquals(studentInTwoCoursesInCourse2.email,firstStudentReceived.email);
  assertEquals(studentInTwoCoursesInCourse2.name,firstStudentReceived.name);
  assertEquals(studentInTwoCoursesInCourse2.course,firstStudentReceived.course);
  StudentAttributes secondStudentReceived=listReceivedUsingStudentInCourse1.get(1);
  assertEquals(studentInTwoCoursesInCourse1.email,secondStudentReceived.email);
  assertEquals(studentInTwoCoursesInCourse1.name,secondStudentReceived.name);
  assertEquals(studentInTwoCoursesInCourse1.course,secondStudentReceived.course);
  ______TS("String_Node_Str");
  assertEquals(0,studentsLogic.getStudentsForGoogleId("String_Node_Str").size());
  ______TS("String_Node_Str");
  try {
    studentsLogic.getStudentsForGoogleId(null);
    signalFailureToDetectException();
  }
 catch (  AssertionError a) {
    assertEquals(Const.StatusCodes.DBLEVEL_NULL_INPUT,a.getMessage());
  }
}