@After
	public void tearDown() throws Exception {
		ToolChest tc = tool.getProject().getLocalToolChest();
		tc.remove("MyTestTool");
		tc.remove("TestTool");

		waitForSwing();
		tool.setConfigChanged(false);
		runSwing(() -> saveDialog.close());
		env.dispose();
	}
Tests for saving the tool config.
Ghidra/Features/ByteViewer/src/test.slow/java/ghidra/framework/plugintool/dialog/SaveToolConfigDialogTest.java