@Test
	public void testExitGhidraWithTwoTools_TwoChanges() {
		PluginTool tool = launchTool(DEFAULT_TEST_TOOL_NAME);
		PluginTool tool2 = launchTool(DEFAULT_TEST_TOOL_NAME);

		// make a *config* change
		boolean isSet = getBooleanFooOptions(tool);
		setBooleanFooOptions(tool, !isSet);
		setBooleanFooOptions(tool2, !isSet);

		closeAndReopenProject();
		SelectChangedToolDialog dialog = getSaveSessionChangesDialog();
		assertNotNull("Did not get a save dialog with multiple dirty tools", dialog);
		selectAndSaveSessionTool(dialog, tool);

		tool = launchTool(DEFAULT_TEST_TOOL_NAME);
		assertEquals("Changed tool was not saved", !isSet, getBooleanFooOptions(tool));
	}
A test that outlines and tests the expected saving action of tools that are closed.  Normally,
a tool will save itself when closed, but sometimes it cannot.  This test class verifies these
conditions.
Ghidra/Features/Base/src/test.slow/java/ghidra/framework/project/tool/ToolSaving1Test.java