public void testUpdateAcademicYear() throws Exception {
Date startDate = EsimsUtils.createDate(1, Calendar.JUNE, 2007);
Date endDate = EsimsUtils.createDate(31, Calendar.MAY, 2008);
SchoolEssence schoolEssence = UtilsForTestCases
.createValidSchoolEssence();
School school = schoolEssence.createSchool();
this.schoolService.save(school);
AcademicYear academicYear1 = new AcademicYear("2006-2007", school,
startDate, endDate, "active");
this.academicYearService.saveAcademicYear(academicYear1);
academicYear1.setStatus("history");