AcademicYear academicYear = new AcademicYear("2005-2006", school,
startDate, endDate, "active");
academicYearDAO.save(academicYear);
Standard standard = new Standard("1st standard", academicYear);
standardDAO.save(standard);
List<Standard> stdList1 = standardDAO.getByStandardName("1st standard");
assertEquals(1, stdList1.size());
Long id = stdList1.get(0).getStandardId();
Standard std = standardDAO.get(id);
assertNotNull(std);
assertEquals(id, std.getStandardId());
stdList1 = standardDAO.getAll();
assertEquals(1, stdList1.size());
stdList1 = standardDAO.getAll("name");