XAResource res1 = new MockXAResource("Derby", "001");
XAResource res2 = new MockXAResource("DB2", "002");
tm.getTransaction().enlistResource(res1);
tm.getTransaction().enlistResource(res2);
Transaction suspended = helper.suspendsTransactionPreInvoke();
suspended.delistResource(res1, XAResource.TMSUSPEND);
suspended.delistResource(res2, XAResource.TMSUSPEND);
// T1 is suspended
assertSame(t1, suspended);