}
@Override
protected void handlePatch(Xmlpatches xmlpatches, String name,
String sysex, List<PopupContainer> popups, String[][] contents) {
Xmlpatch xmlpatch = getXmlpatch(xmlpatches, name);
assertNotNull("Check " + name + " patch exists", xmlpatch);
assertEquals("Check " + name + " patch sysex", xmlpatch.getSendSysex(),
sysex);
XmlPopups xmlPopups = xmlpatch.getXmlPopups();
if (xmlPopups == null) {
assertTrue("Num popups check", popups.isEmpty());
} else {
XmlPopup[] popupArray = xmlPopups.getXmlPopupArray();
assertEquals("Num popups check", popupArray.length, popups.size());