Search in sources :

Example 1 with XARecoveryResourceManagerImple

use of com.arjuna.ats.internal.jta.recovery.jts.XARecoveryResourceManagerImple in project narayana by jbosstm.

the class XARecoveryResourceManagerUnitTest method test.

@Test
public void test() {
    XARecoveryResourceManagerImple man = new XARecoveryResourceManagerImple();
    assertTrue(man.getResource(new Uid()) != null);
    assertTrue(man.getResource(new Uid(), new DummyXA(false)) != null);
}
Also used : Uid(com.arjuna.ats.arjuna.common.Uid) DummyXA(com.hp.mwtests.ts.jta.jts.common.DummyXA) XARecoveryResourceManagerImple(com.arjuna.ats.internal.jta.recovery.jts.XARecoveryResourceManagerImple) Test(org.junit.Test)

Aggregations

Uid (com.arjuna.ats.arjuna.common.Uid)1 XARecoveryResourceManagerImple (com.arjuna.ats.internal.jta.recovery.jts.XARecoveryResourceManagerImple)1 DummyXA (com.hp.mwtests.ts.jta.jts.common.DummyXA)1 Test (org.junit.Test)1