@Test
	public void testChangeToolData() throws Exception {

		DomainFile[] data = null;

		//
		// setup the running tool
		//
		PluginTool runningTool = new DummyTool();

		//
		// TEST 1: set the data for a tool running without data
		//
		data = new DomainFile[] {
			new ProgramBuilder(DATA_NAME_1, ProgramBuilder._TOY).getProgram().getDomainFile() };

		if (!runningTool.acceptDomainFiles(data)) {
			Assert.fail("FAILED ChangeToolData Without Data");
		}

		//
		// TEST 2: set the data for a tool already running with data
		//
		// verify a confirm prompt is displayed since we will need to save the state of current tool
		//
		data = new DomainFile[] {
			new ProgramBuilder(DATA_NAME_2, ProgramBuilder._TOY).getProgram().getDomainFile() };
		if (!runningTool.acceptDomainFiles(data)) {
			Assert.fail("FAILED ChangeToolData With Data");
		}

	}
The following tests are performed in this test driver for
the new front end:
(1) connect two running tools by one or more specified events
(2) disconnect one or more specified events between two connected tools
Ghidra/Features/Base/src/test.slow/java/ghidra/framework/project/tool/ChangeToolDataTest.java