@Test
	public void testLatestContentsChangedUseForAllKeepOriginal() throws Exception {
		// Only Latest contents changed and both names changed
		// conflict resolution = ORIGINAL_NAME
		setupLatestContentsChangedUseForAllTest();

		merge();

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

		// Verify results.
		Listing resultListing = resultProgram.getListing();
		assertNotNull(resultListing.getRootModule("Program Tree"));
		assertNotNull(resultListing.getRootModule("Main Tree"));
		assertNotNull(resultListing.getRootModule("LatestMainTree"));
		assertNull(resultListing.getRootModule("Another Main Tree"));
		assertNotNull(resultListing.getRootModule("Tree One"));
		assertNotNull(resultListing.getRootModule("Tree Two"));
		assertNull(resultListing.getRootModule("Latest Tree 2"));
		assertNull(resultListing.getRootModule("My Tree 2"));
		assertNotNull(resultListing.getRootModule("Tree Three"));
		assertNotNull(resultListing.getRootModule("Latest Tree 3"));
		assertNull(resultListing.getRootModule("My Tree 3"));

		assertNull(resultListing.getModule("Main Tree", "latest module"));
		assertNull(resultListing.getFragment("Main Tree", "frag_one"));
		assertNotNull(resultListing.getModule("LatestMainTree", "latest module"));
		assertNotNull(resultListing.getFragment("LatestMainTree", "frag_one"));
	}
Test the tree merger and its Use For All checkbox option.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/tree/ProgramTreeMergeManagerUseForAllTest.java