globalTransaction = gtf.newGlobalTransaction(null, false);
DummyBaseTransactionManager tm = new DummyBaseTransactionManager();
localTx = new LocalXaTransaction(new DummyTransaction(tm), globalTransaction, false, 1, AnyEquivalence.getInstance());
xid = new DummyXid(uuid);
InvocationContextFactory icf = new TransactionalInvocationContextFactory();
CommandsFactory commandsFactory = mock(CommandsFactory.class);
InterceptorChain invoker = mock(InterceptorChain.class);
txCoordinator = new TransactionCoordinator();
txCoordinator.init(commandsFactory, icf, invoker, txTable, null, configuration);
xaAdapter = new TransactionXaAdapter(localTx, txTable, null, txCoordinator, null, null,