TrailWrapper wrap2 = new TrailWrapper(flow2);
Flow2Wrapper flowBoth = new Flow2Wrapper("asyncwrap", wrap1, wrap2);
TrailWrapper wrap3 = new TrailWrapper(flowBoth);
SRInstance run = StartIt(wrap3);
assertEquals("pause", false, run.isPaused());
Proceed(run, "222");
assertEquals("pause", true, run.isPaused());
run.resume(); //finish a
assertEquals("pause", false, run.isPaused());
Proceed(run); //b
assertEquals("pause", false, run.isPaused());
assertEquals("fail", false, run.isFailed());
assertEquals("fin", true, run.isFinished());
ChkTrail(run, "a;b");
ChkTrail(wrap1, "beg;F;E;N;T;end");
ChkTrail(wrap2, "beg;F;E;N;T;end");
ChkTrail(wrap3, "beg;F;N;N;T;end");
System.out.println("---done async----");