@Test
	public void testCreateTool() throws Exception {

		boolean verified = false;
		runSwing(new Runnable() {
			@Override
			public void run() {
				tool = ProjectTestUtils.getTool(project, null);
			}
		});
		try {
			// verify the tool is actually running before declaring success
			ToolManager tm = project.getToolManager();
			PluginTool[] runningTools = tm.getRunningTools();
			for (int t = 0; !verified && t < runningTools.length; t++) {
				if (runningTools[t].equals(tool)) {
					verified = true;
				}
			}
		}
		finally {
			closeTool(tool);
		}

		// report test results
		if (!verified) {
			Assert.fail("Create Tool test FAILED!!");
		}
	}
This driver tests the following requirements:
(1) create a new empty tool
(2) create a tool from a named ToolConfig description
Ghidra/Features/Base/src/test.slow/java/ghidra/framework/project/tool/CreateToolTest.java