// TODO Auto-generated method stub
}
public void testInsertPersonStringID() {
PersonStringID maxwell = new PersonStringID();
maxwell.id = "MAXWELL";
maxwell.firstName = "James Clerk";
maxwell.lastName = "Maxwell";
maxwell.city = "Edinburgh";
maxwell.n = 4;
pm.insert(maxwell);
assertEquals(maxwell.id, "MAXWELL");
PersonStringID maxwellbis = new PersonStringID();
maxwellbis.id = "MAXWELL";
pm.option(SdbPersistenceManager.CONSISTENT_READ).get(maxwellbis);
assertEquals(maxwell, maxwellbis);
maxwell.firstName = "James Clerk UPD";
maxwell.lastName = "Maxwell UPD";
maxwell.city = "Edinburgh UPD";
maxwell.n = 5;
pm.update(maxwell);
maxwellbis = new PersonStringID();
maxwellbis.id = "MAXWELL";
pm.option(SdbPersistenceManager.CONSISTENT_READ).get(maxwellbis);
assertEquals(maxwell, maxwellbis);