}
@Override
protected void handleXmlstore(Xmlstores xmlstores, String bank,
String patchNum, List<PopupContainer> popupList, String sysex) {
Xmlstore xmlstore = getStore(xmlstores, bank, patchNum);
assertNotNull("Patch store is in XML bank " + bank + " patch num: " + patchNum, xmlstore);
assertEquals("Sysex check for bank " + bank + " and patch " + patchNum,
xmlstore.getSysex(), sysex);
if (popupList.isEmpty()) {
assertNull("Check patch store popup list empty",
xmlstore.getXmlPopups());
} else {
XmlPopups xmlPopups = xmlstore.getXmlPopups();
if (xmlPopups == null) {
fail("Expected " + popupList.size() + " popups for bank" + bank
+ " patch " + patchNum);
}
XmlPopup[] xmlPopupArray = xmlPopups.getXmlPopupArray();