private Enum createReplacementEnum(Enum enummDt) throws Exception {
		DataTypeManager dtm = enummDt.getDataTypeManager();
		Enum newEnummDt = (Enum) enummDt.copy(dtm);

		int txID = program.startTransaction("Test Create Enum");
		try {
			newEnummDt.setName("ReplacementEnum");
			newEnummDt.add("NewValue", 100);
		}
		finally {
			program.endTransaction(txID, true);
		}

		program.flushEvents();
		waitForSwing();

		return newEnummDt;
	}
Tests for editing an Enumerated data type.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/editor/EnumEditor1Test.java