*/
public void testNoClone() {
OpenJPAEntityManager pm =
(OpenJPAEntityManager) currentEntityManager();
startTx(pm);
NoClone orig = new NoClone("test");
pm.persist(orig);
endTx(pm);
pm.refresh(orig);
NoClone copy = orig.safeClone();
assertEquals("test", copy.getString());
assertTrue(pm.isPersistent(orig));
assertFalse(pm.isPersistent(copy));
endEm(pm);
}