address.setZipCode("90210");
return address;
}
public Department persistDepartments(GenericDao<Department, Long> deptDao) {
Department dep = new Department();
dep.setName("Gizmot");
deptDao.persist(dep);
departments.add(dep);
dep = new Department();
dep.setName("Bistor");
deptDao.persist(dep);
departments.add(dep);
dep = new Department();
dep.setName("Zible");
deptDao.persist(dep);
departments.add(dep);
return deptDao.read(dep.getId());
}