public void testAdminCourseGroups() {
   List<CourseGroupDAO> groups =
       courseDao.findAdminCourseGroups("d86d9720-eba4-40eb-bda3-91b3145729da");
   assertEquals(3, groups.size());
   groups = courseDao.findAdminCourseGroups("c10cdf4b-7c10-423c-8319-2d477051a94e");
   assertEquals(1, groups.size());
 }
 public void testFindSignupByCourse() {
   List<CourseSignupDAO> signups =
       courseDao.findSignupByCourse("d86d9720-eba4-40eb-bda3-91b3145729da", "course-1", null);
   assertEquals(1, signups.size());
 }
 public void testCoursesInDept() {
   List<CourseGroupDAO> groups =
       courseDao.findCourseGroupByDept("3C05", Range.UPCOMING, END_MIC_2010, false);
   assertEquals(1, groups.size());
 }
 public void testAvailableCourses() {
   CourseGroupDAO course = courseDao.findUpcomingComponents("course-1", END_MIC_2010);
   assertNotNull(course);
   assertNotNull(course.getComponents());
   assertEquals(2, course.getComponents().size());
 }