@Test
	public void testExternalDescriptionUpdate() throws Exception {
		// verify that the editor updates when a new value is added or
		// existing entry is changed
		Enum enummDt = createRedGreenBlueEnum();
		edit(enummDt);

		EnumEditorPanel panel = findEditorPanel(tool.getToolFrame());
		JTable table = panel.getTable();
		EnumTableModel model = (EnumTableModel) table.getModel();

		int transactionID = program.startTransaction("Test");
		String newDescription = "My new description";
		enummDt.setDescription(newDescription);
		program.endTransaction(transactionID, true);
		program.flushEvents();
		waitForSwing();

		Enum en = getEnum(model);
		assertEquals(newDescription, en.getDescription());
	}
Tests for editing an Enumerated data type.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/editor/EnumEditor1Test.java