System.out.println("getNumVersionsOfGradedEventClosedConnection");
assertTrue(instance.isOpen());
instance.closeConnection();
assertFalse(instance.isOpen());
CourseDAO courseDAO = new CourseDAO(testDb.getConnection());
Course course = courseDAO.find(1L);
GradedEvent gradedEvent = new GradedEvent(course, "", "");
gradedEvent.setTerm("Summer 2010");
int result = instance.getNumVersionsOfGradedEvent(gradedEvent);
courseDAO.closeConnection();
}