TEST_SIMAL_PROJECT_NUMBER_OF_MAILING_LIST, lists.size());
boolean hasListOne = false;
boolean hasListTwo = false;
Iterator<IDoapMailingList> itrLists = lists.iterator();
IDoapMailingList list;
while (itrLists.hasNext()) {
list = itrLists.next();
if (list.getLabel().equals(TEST_SIMAL_PROJECT_MAILING_LIST_ONE)) {
hasListOne = true;
} else if (list.getLabel().equals(TEST_SIMAL_PROJECT_MAILING_LIST_TWO)) {
hasListTwo = true;
}
}
assertTrue("Project does not appear to have list "
+ TEST_SIMAL_PROJECT_MAILING_LIST_ONE, hasListOne);