@Test
	public void testExitGhidraWithOneTool() {
		PluginTool tool = launchTool(DEFAULT_TEST_TOOL_NAME);
		Dimension size = new Dimension(450, 550);
		setToolSize(tool, size);
		closeAndReopenProject();

		// we expect the *session* tool to be reopened with the project and to be our size
		JFrame window = getOpenedToolWindow(DEFAULT_TEST_TOOL_NAME);
		Dimension sessionToolSize = window.getSize();
		assertEquals("Session tool's size did not get saved with the project on Ghidra exit", size,
			sessionToolSize);

		// we also expect the tool in the tool chest to have the new size
		tool = launchTool(DEFAULT_TEST_TOOL_NAME);
		Dimension newSize = getToolSize(tool);
		assertTrue("Tool size was not saved. Expected: " + size + " and found: " + newSize,
			size.equals(newSize));
	}
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