@Test
	public void testOnlyNamesChangedUseForAllAddMy() throws Exception {
		// Latest and My names changed
		// conflict resolution = ADD_NEW_TREE
		setupOnlyNameChangedUseForAllTest();

		merge();

		resolveNamePanelConflict("LatestMainTree", "Another Main Tree",
			ProgramTreeMergeManager.ADD_NEW_TREE, true);
		// Use For All should handle "Tree named 'Latest Tree 3' (Latest) conflicts with 'My Tree 3' (Checked Out)".
		// Use For All should handle "Tree named 'Latest Tree 2' (Latest) conflicts with 'My Tree 2' (Checked Out)".
		waitForMergeCompletion();

		// Verify results.
		Listing resultListing = resultProgram.getListing();
		assertNotNull(resultListing.getRootModule("Program Tree"));
		assertNull(resultListing.getRootModule("Main Tree"));
		assertNotNull(resultListing.getRootModule("LatestMainTree"));
		assertNotNull(resultListing.getRootModule("Another Main Tree"));
		assertNotNull(resultListing.getRootModule("Tree One"));
		assertNull(resultListing.getRootModule("Tree Two"));
		assertNotNull(resultListing.getRootModule("Latest Tree 2"));
		assertNotNull(resultListing.getRootModule("My Tree 2"));
		assertNull(resultListing.getRootModule("Tree Three"));
		assertNotNull(resultListing.getRootModule("Latest Tree 3"));
		assertNotNull(resultListing.getRootModule("My Tree 3"));
	}
Test the tree merger and its Use For All checkbox option.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/tree/ProgramTreeMergeManagerUseForAllTest.java