txCoordinator.init(null, null, null, null, configuration);
assert XAResource.XA_OK == xaAdapter.prepare(xid);
}
public void test1PcAndNonExistentXid() {
Configuration configuration = new ConfigurationBuilder().clustering().cacheMode(CacheMode.INVALIDATION_ASYNC).build();
txCoordinator.init(null, null, null, null, configuration);
try {
DummyXid doesNotExists = new DummyXid(uuid);
xaAdapter.commit(doesNotExists, false);
assert false;