assertTrue("Num popups check", popups.isEmpty());
} else {
XmlPopup[] popupArray = xmlPopups.getXmlPopupArray();
assertEquals("Num popups check", popupArray.length, popups.size());
for (int l = 0; l < popupArray.length; l++) {
XmlPopup xmlPopup = popupArray[l];
PopupContainer popupContainer = popups.get(l);
assertEquals("Popup title check", xmlPopup.getTitle(),
popupContainer.getTitle());
assertEquals("Popup content check", xmlPopup.getContent(),
popupContainer.getContents());
}
}
}