protected void changeSettings(final boolean defaultSetting, final String[] settingNames,
			final String[] newValues) throws Exception {

		doAction(defaultSetting ? DEFAULT_SETTINGS : DATA_SETTINGS, false);

		waitForSwing();

		final AbstractSettingsDialog dlg = waitForDialogComponent(AbstractSettingsDialog.class);
		assertNotNull("Expected data settings dialog", dlg);

		waitForSwing();

		AbstractSortedTableModel<SettingsRowObject> model = dlg.getSettingsTableModel();

		error = null;

		Runnable r = () -> {

			int nameCol = model.findColumn("Name");
			int settingsCol = model.findColumn("Settings");
			int rowCnt = model.getRowCount();

			for (int row = 0; row < rowCnt; row++) {
				String name = (String) model.getValueAt(row, nameCol);
				int index = findSettingIndex(settingNames, name);
				if (index != -1) {
					Object v = model.getValueAt(row, settingsCol);
					if (v instanceof StringChoices) {
						StringChoices choices = (StringChoices) v;

						triggerEdit(dlg, row, settingsCol);
						setComboValue(dlg, newValues[index]);
						endEdit(dlg);

						choices.setSelectedValue(newValues[index]);
						model.setValueAt(choices, row, settingsCol);
					}
					else {
						error = "Unsupported test setting: " + v.getClass();
						return;
					}
				}
			}
		};
		runSwing(r);

		if (error != null) {
			Assert.fail(error);
		}

		pressButtonByText(dlg, "OK");

		waitForSwing();
	}
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