private void setCategoryPath(Enum enummDt, String newCategoryPath) throws Exception {
		int txID = program.startTransaction("Test Create Enum");
		try {
			enummDt.setCategoryPath(new CategoryPath(newCategoryPath));
		}
		finally {
			program.endTransaction(txID, true);
		}

		program.flushEvents();
		waitForSwing();
	}
Tests for editing an Enumerated data type.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/editor/EnumEditor1Test.java