use of com.arjuna.ats.internal.jts.interposition.resources.strict.StrictInterpositionCreator in project narayana by jbosstm.
the class StrictInterpositionUnitTest method test.
@Test
public void test() throws Exception {
StrictInterpositionCreator creator = new StrictInterpositionCreator();
OTSImpleManager.current().begin();
OTSImpleManager.current().begin();
PropagationContext ctx = OTSImpleManager.current().get_control().get_coordinator().get_txcontext();
assertTrue(creator.recreateLocal(ctx) != null);
assertTrue(creator.recreate(ctx) != null);
OTSImpleManager.current().rollback();
OTSImpleManager.current().rollback();
}
Aggregations