private Enum createEnum(Category c, String name, int size) {
		Enum dt = new EnumDataType(name, size);
		int transactionID = program.startTransaction("Test");
		Enum enummDt = (Enum) c.addDataType(dt, DataTypeConflictHandler.DEFAULT_HANDLER);
		program.endTransaction(transactionID, true);
		return enummDt;
	}
Tests for editing an Enumerated data type.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/editor/EnumEditor1Test.java