DemoBusinessParticipant p = new DemoBusinessParticipant(DemoBusinessParticipant.CLOSE, "1234");
FailureBusinessParticipant fp = new FailureBusinessParticipant(FailureBusinessParticipant.FAIL_IN_CLOSE, "5678");
uba.begin();
bam.enlistForBusinessAgreementWithParticipantCompletion(p, null);
bam.enlistForBusinessAgreementWithParticipantCompletion(fp, null);
uba.close();
passed = p.passed();