@Test
	public void testExternalRemove() throws Exception {
		Enum enummDt = createRedGreenBlueEnum();
		edit(enummDt);

		DataTypeManager dtm = program.getDataTypeManager();
		int transactionID = program.startTransaction("Test");
		dtm.remove(enummDt);
		program.endTransaction(transactionID, true);
		program.flushEvents();
		waitForSwing();

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