@SuppressWarnings("unused")
	private void checkAddressArrays(String type, Address[] expectedAddresses,
			Address[] actualAddresses) {
		Arrays.sort(expectedAddresses);
		Arrays.sort(actualAddresses);
		ArrayList<Address> extraList = new ArrayList<>();
		ArrayList<Address> missingList = new ArrayList<>();
		int expectedIndex = 0, actualIndex = 0;
		int expectedLength = expectedAddresses.length;
		int actualLength = actualAddresses.length;
		while ((expectedIndex < expectedLength) && (actualIndex < actualLength)) {
			Address expectedAddress = expectedAddresses[expectedIndex];
			Address actualAddress = actualAddresses[actualIndex];
			int compareExpectedToActual = expectedAddress.compareTo(actualAddress);
			if (compareExpectedToActual == 0) {
				expectedIndex++;
				actualIndex++;
			}
			else if (compareExpectedToActual < 0) {
				missingList.add(expectedAddress);
				expectedIndex++;
			}
			else {
				extraList.add(actualAddress);
				actualIndex++;
			}
		}
		while (expectedIndex < expectedLength) {
			missingList.add(expectedAddresses[expectedIndex]);
			expectedIndex++;
		}
		while (actualIndex < actualLength) {
			extraList.add(actualAddresses[actualIndex]);
			actualIndex++;
		}
		StringBuffer buf = new StringBuffer();
		if (!missingList.isEmpty()) {
			buf.append(type + "s are missing at ");
			buf.append(missingList.get(0).toString());
			int numMissing = missingList.size();
			for (int index = 1; index < numMissing; index++) {
				buf.append(", " + missingList.get(index).toString());
			}
			buf.append(".\n");
		}
		if (!extraList.isEmpty()) {
			buf.append("Unexpectedly found " + type + "s at ");
			buf.append(extraList.get(0).toString());
			int numMissing = extraList.size();
			for (int index = 1; index < numMissing; index++) {
				buf.append(", " + extraList.get(index).toString());
			}
			buf.append(".\n");
		}
		if (buf.length() > 0) {
			String message = buf.toString();
//			System.out.println(message);
			Assert.fail(message);
		}
	}
@param comboBox the ComboBox for the Diff Apply Setting to check
Ghidra/Features/ProgramDiff/src/test.slow/java/ghidra/app/plugin/core/diff/DiffApplyTestAdapter.java