assertEquals(Collections.singletonList(student), q.execute());
commitTxn();
}
public void testJoinOnOneToMany_Offset() {
Course course1 = newCourse("Biology");
makePersistentInTxn(course1, TXN_START_END);
Course course2 = newCourse("Not Biology");
makePersistentInTxn(course2, TXN_START_END);
Student student = newStudent(10, course1, course2);
makePersistentInTxn(student, TXN_START_END);
Student student2 = newStudent(11, course1, course2);
makePersistentInTxn(student2, TXN_START_END);