@Test
	public void testSelectIcon() throws Exception {
		ToolIconURL iconUrl = new ToolIconURL("Caution.png");
		iconList.setSelectedValue(iconUrl, true);
		ToolIconURL iconUrl2 = (ToolIconURL) iconList.getSelectedValue();
		assertEquals(iconUrl, iconUrl2);

		pressButtonByText(saveDialog, "Cancel");
		while (saveDialog.isVisible()) {
			Thread.sleep(5);
		}
		waitForSwing();
	}
Tests for saving the tool config.
Ghidra/Features/ByteViewer/src/test.slow/java/ghidra/framework/plugintool/dialog/SaveToolConfigDialogTest.java