session.getCurrentSession().evict(derivedCalendar);
session.getCurrentSession().evict(derivedCalendar2);
calendar.dontPoseAsTransientObjectAnymore();
derivedCalendar.dontPoseAsTransientObjectAnymore();
derivedCalendar2.dontPoseAsTransientObjectAnymore();
List<BaseCalendar> children = baseCalendarDAO.findByParent(calendar);
assertThat(children.size(), equalTo(2));
assertTrue(children.get(0).getId().equals(derivedCalendar.getId())
|| children.get(0).getId().equals(derivedCalendar2.getId()));