BatchTestRunner.run(DetachAttach.class);
}
/** */
public void testAttachClean() {
Cart detachedCart = createDetachedInstance(ASSERTION_FAILED);
pm.currentTransaction().begin();
Cart attachedCart = (Cart)pm.makePersistent(detachedCart);
checkCartValues(ASSERTION_FAILED +
"after attach," + NL, attachedCart, true);
pm.currentTransaction().commit();
failOnError();
}