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,
new ClusteringDependentLogic.InvalidationLogic(), configuration, "");
xaAdapter.start(xid, 0);
}