mockConnection.close();
return null;
}
};
transactionContextManager.newUnspecifiedTransactionContext();
userTransaction = new UserTransactionImpl();
userTransaction.setUp(transactionContextManager, connectionTrackingCoordinator);
userTransaction.setOnline(true);
defaultComponentInterceptor.invoke(defaultComponentContext);
MockXAResource mockXAResource = (MockXAResource) mockManagedConnection.getXAResource();
assertEquals("XAResource should know 1 xid", 1, mockXAResource.getKnownXids().size());