/** */
public void testDetachUndetachable() {
setupUndetachable();
getPM().currentTransaction().begin();
Undetachable instance = (Undetachable)pm.detachCopy(un1);
if (JDOHelper.isPersistent((Object)instance)) {
appendMessage("testDetachUndetachable: should be transient" +
" but is not. The object state is: " +
states[currentState((Object)instance)]
+ " " + getStateOfInstance((Object)instance));