{
System.out.println("createClosedConnection");
assertTrue(instance.isOpen());
CourseDAO courseDAO = new CourseDAO(testDb.getConnection());
Course course = courseDAO.find(1L);
GradedEvent testGradedEvent = new GradedEvent();
testGradedEvent.setId(new Long(42L));
testGradedEvent.setCourse(course);
testGradedEvent.setAssignment("Final");
testGradedEvent.setTerm("Spring 2010");
testGradedEvent.setVersion("M1");
courseDAO.closeConnection();
instance.closeConnection();
assertFalse(instance.isOpen());
instance.create(testGradedEvent);
}