}
}
assertTrue (act.name().equals ("RAS Test A1"));
// assign
Collection assmnts = act.assignments ();
WfAssignment amnt = (WfAssignment)assmnts.iterator().next ();
assertTrue (resMLipp.resourceKey (), amnt.assignee().resourceKey()
.equals (resMLipp.resourceKey()));
amnt.setAssignee (resOP);
assertTrue (amnt.assignee().resourceKey()
.equals (resOP.resourceKey()));
// re-get assignment to make sure
assmnts = act.assignments ();
assertTrue (assmnts.size() == 1);
Iterator i = assmnts.iterator();
WfAssignment assmnt = (WfAssignment)i.next();
assertTrue (assmnt.assignee().resourceKey()
.equals (resOP.resourceKey()));
}