assertEquals(1, ems.getL2Cache().size());
ems.store(person2.getPersonId(), person2);
assertEquals(2, ems.getL2Cache().size());
// Lookup object from session
PersonnelDTO p1 = ems.lookup(PersonnelDTO.class, person1.getPersonId());
assertNotNull(p1);
assertEquals(person1.getPersonId(), p1.getPersonId());
assertEquals(person1.getFirstName(), p1.getFirstName());
assertEquals(person1.getLastName(), p1.getLastName());
// Remove object from session
ems.remove(PersonnelDTO.class, person1.getPersonId());
assertNotNull(ems);
assertEquals(1, ems.getL2Cache().size());