PersistenceManager pm = getPM();
    public void test1() {        String eName = "seb";        String dName = "ASR";        PersistenceManager pm = getPM();        Employee e = new Employee(id(), eName, new Department(id(), dName));        pm.makePersistent(e);        Object eId = pm.getObjectId(e);        assertNotNull("null object identifier", eId);        pm.currentTransaction().commit();        e = null;        pm.currentTransaction().begin();        e = (Employee) pm.getObjectById(eId, true);        assertNotNull("null instance returned by getObjectById", e);        assertTrue("Bad employee name", eName.equals(e.getName()));        assertNotNull("null instance returned by getDept", e.getDept());        assertTrue("Bad department name", dName.equals(e.getDept().getName()));        pm.deletePersistent(e.getDept());        pm.deletePersistent(e);        pm.currentTransaction().commit();    }