@Test public void testAtomicAction () throws Exception { SubordinateAtomicAction saa1 = new SubordinateAtomicAction(); SubordinateAtomicAction saa2 = new SubordinateAtomicAction(new Uid()); OutputObjectState os = new OutputObjectState(); assertTrue(saa1.save_state(os, ObjectType.ANDPERSISTENT)); InputObjectState is = new InputObjectState(os); assertTrue(saa2.restore_state(is, ObjectType.ANDPERSISTENT)); }