@Test
	public void testDeleteTool() throws Exception {
		// delete a tool from the tool chest
		// verify delete menu is updated
		// verify "open with" menu is updated
		createTool();
		DockingActionIf action = getAction("Untitled", "Delete Tool");
		assertNotNull(action);
		performAction(action, "Untitled", false);
		OptionDialog d = waitForDialogComponent(OptionDialog.class);
		assertNotNull(d);
		assertEquals("Confirm Delete", d.getTitle());
		pressButtonByText(d.getComponent(), "Delete");
		waitForSwing();

		assertNull(getAction("Untitled", "Delete Tool"));
		assertNull(getAction("Untitled", "Run Tool"));
		assertNull(getAction("Untitled", "Export Tool"));
	}
Tests for tool actions on the front end (Ghidra project window)
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/framework/main/ToolActionManagerTest.java