private void setComboValue(AbstractSettingsDialog d, String string) {
		GTable table = d.getSettingsTable();
		TableCellEditor activeEditor = runSwing(() -> table.getCellEditor());
		assertNotNull("Table should be editing, but is not", activeEditor);
		assertTrue("Editor type is not correct", activeEditor instanceof SettingsEditor);

		SettingsEditor settingsEditor = (SettingsEditor) activeEditor;
		GhidraComboBox<String> combo = settingsEditor.getComboBox();

		int index = runSwing(() -> {
			int n = combo.getItemCount();
			for (int i = 0; i < n; i++) {
				String item = combo.getItemAt(i);
				if (item.equals(string)) {
					return i;
				}
			}
			return -1;
		});

		assertNotEquals("Combo does not contain item '" + string + "'", -1, index);

		runSwing(() -> {
			combo.setSelectedIndex(index);
		});
	}
Asserts that the next value returned from the iterator matches the specified properties.

@param dit data iterator
@param dtClass data type class to expect
@param offset address offset to expect
@param length data instance length to expect
@return Data instance that iterator's .next() returned.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/data/AbstractDataActionTest.java