// taken from xstream import
private void oldAssertations(DataPool importDataPool) {
PersonDao newPDao = (PersonDao) importDataPool.getDao(Person.class);
EventDao newEDao = (EventDao) importDataPool.getDao(Event.class);
FeatureDao newFDao = (FeatureDao) importDataPool.getDao(Feature.class);
LocationDao newLDao = (LocationDao) importDataPool.getDao(Location.class);
assertEquals(4, newPDao.getAll().size());
assertEquals(4, newFDao.getAll().size());
assertEquals(4, newEDao.getAll().size());
assertEquals(4, newLDao.getAll().size());
assertNotNull(newPDao);
assertNotNull(newFDao);
assertNotNull(newEDao);
assertNotNull(newLDao);
Person newPerson1 = newPDao.findFirstByName("person1");
Person newPerson2 = newPDao.findFirstByName("person2");
Person newPerson3 = newPDao.findFirstByName("person3");
Person newPerson4 = newPDao.findFirstByName("person4");
Event newEv1 = newEDao.findFirstByName("event1");
Event newEv2 = newEDao.findFirstByName("event2");
Event newEv3 = newEDao.findFirstByName("event3");
Event newEv4 = newEDao.findFirstByName("event4");
Location newLoc1 = newLDao.findFirstByName("location1");
Location newLoc2 = newLDao.findFirstByName("location2");
Location newLoc3 = newLDao.findFirstByName("location3");
Location newLoc4 = newLDao.findFirstByName("location4");
Feature newFeature1 = newFDao.findFirstByName("feature1");
Feature newFeature2 = newFDao.findFirstByName("feature2");
assertTrue(newPerson1.getEventsMap().containsKey(newEv1));