/**
* Test association of process and requester.
*/
public void testAssoc() throws Exception {
EventLogger evtlog1 = new EventLogger();
WfRequester cont1
= new DefaultRequester(workflowService(), evtlog1);
Process proc1a = (Process)createProcess("ut-process", "jut1", cont1);
assertTrue (proc1a.requester().equals (cont1));
Process proc1b = (Process)createProcess("ut-process", "jut1", cont1);
assertTrue (proc1b.requester().equals (cont1));
EventLogger evtlog2 = new EventLogger();
WfRequester cont2 = new DefaultRequester(workflowService(), evtlog2);
assertTrue (!cont2.equals (cont1));
Process proc2 = (Process)createProcess("ut-process", "jut1", cont2);
assertTrue (proc2.requester().equals (cont2));
Collection c1 = cont1.performers();
assertTrue (c1.size() == 2);
boolean foundA = false;