Search in sources :

Example 1 with RecoveryEnablement

use of com.arjuna.ats.internal.jts.orbspecific.recovery.RecoveryEnablement in project narayana by jbosstm.

the class RecoveryEnablementUnitTest method test.

@Test
public void test() throws Exception {
    ORBManager.reset();
    RecoveryEnablement rec = new RecoveryEnablement();
    assertTrue(rec.startRCservice());
    RecoveryEnablement.isNotANormalProcess();
    assertFalse(RecoveryEnablement.isNormalProcess());
    assertTrue(RecoveryEnablement.getRecoveryManagerTag() != null);
}
Also used : RecoveryEnablement(com.arjuna.ats.internal.jts.orbspecific.recovery.RecoveryEnablement) Test(org.junit.Test)

Aggregations

RecoveryEnablement (com.arjuna.ats.internal.jts.orbspecific.recovery.RecoveryEnablement)1 Test (org.junit.Test)1