q.declareVariables("GroupModerator gm");
q.setFilter("!(this.moderators.contains(gm)) && (gm.firstName == p1) && (gm.lastName == p2)");
Collection c = (Collection) q.execute("moderator_ml0", "mod0");
Collection founds = new ArrayList(c.size());
for (Iterator iter = c.iterator(); iter.hasNext();) {
MailingList ml = (MailingList) iter.next();
founds.add(ml.getName());
}
q.closeAll();
pm.close();
assertSameCollection("Bad group found",
Arrays.asList(new String[]{"mailinglist_1", "mailinglist_2"}),