}
assertEquals(discList1.size(), discList2.size());
Iterator<DiscoveryURL> discList1Itr = discList1.iterator();
Iterator<DiscoveryURL> discList2Itr = discList2.iterator();
while (discList1Itr.hasNext()) {
DiscoveryURL disc1 = discList1Itr.next();
DiscoveryURL disc2 = discList2Itr.next();
assertEquals(disc1.getUseType(), disc2.getUseType());
assertEquals(disc1.getValue(), disc2.getValue());
}
}