private void setupLatestContentsChangedUseForAllTest() throws Exception {
		// only Latest contents changed and both names changed
		mtf.initialize("notepad", new ProgramModifierListener() {

			@Override
			public void modifyLatest(ProgramDB program) {
				Listing listing = program.getListing();
				try {
					ProgramModule mainRoot = listing.getRootModule("Main Tree");
					mainRoot.createFragment("frag_one");
					mainRoot.createModule("latest module");
					listing.renameTree("Main Tree", "LatestMainTree");

					ProgramModule root3 = listing.getRootModule("Tree Three");
					root3.createFragment("frag_99");
					root3.createModule("latest module 55");
					listing.renameTree("Tree Three", "Latest Tree 3");

					listing.renameTree("Tree Two", "Latest Tree 2");
				}
				catch (DuplicateNameException e) {
					Assert.fail("Got Duplicate name exception!");
				}
			}

			@Override
			public void modifyPrivate(ProgramDB program) throws DuplicateGroupException {
				try {
					Listing listing = program.getListing();

					listing.renameTree("Main Tree", "Another Main Tree");

					listing.renameTree("Tree Three", "My Tree 3");

					listing.renameTree("Tree Two", "My Tree 2");
				}
				catch (DuplicateNameException e) {
					Assert.fail("Got duplicate name exception!");
				}
			}
		});
	}
Test the tree merger and its Use For All checkbox option.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/tree/ProgramTreeMergeManagerUseForAllTest.java