use of com.arjuna.ats.internal.jta.transaction.jts.subordinate.jca.coordinator.ServerTransaction in project narayana by jbosstm.
the class ServerTransactionUnitTest method test.
@Test
public void test() throws Exception {
ServerTransaction st = new ServerTransaction(new Uid(), new XidImple(new Uid()));
OutputObjectState os = new OutputObjectState();
assertTrue(st.save_state(os, ObjectType.ANDPERSISTENT));
InputObjectState is = new InputObjectState(os);
assertTrue(st.restore_state(is, ObjectType.ANDPERSISTENT));
}
Aggregations