assertEquals("We don't have the right number of releases", 1, releases
.size());
boolean hasRelease = false;
Iterator<IDoapRelease> itrReleases = releases.iterator();
IDoapRelease release;
while (itrReleases.hasNext()) {
release = itrReleases.next();
if (release.getLabel().equals(TEST_SIMAL_PROJECT_RELEASES)) {
hasRelease = true;
}
}
assertTrue("We don't seem to have the release "
+ TEST_SIMAL_PROJECT_RELEASES, hasRelease);