@Override
			public void modifyLatest(ProgramDB program) {
				// change the name
				Category miscCat =
					program.getDataTypeManager().getCategory(new CategoryPath("/MISC"));
				Category cat1 =
					program.getDataTypeManager().getCategory(new CategoryPath("/Category1"));
				Category cat3 = program.getDataTypeManager().getCategory(
					new CategoryPath("/Category1/Category2/Category3"));
				try {
					miscCat.setName("My Misc");
					cat1.moveCategory(cat3, TaskMonitor.DUMMY);
				}
				catch (DuplicateNameException e) {
					Assert.fail("Got Duplicate name exception!" + e.getMessage());
				}
				catch (InvalidNameException e) {
					Assert.fail("Got Invalid Name Exception! " + e.getMessage());
				}
			}
Tests for the merge data type manager.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/datatypes/CategoryMergeUseForAllTest.java