@Test
	public void testEditNavigationUpDown() {
		Enum enummDt = createRedGreenBlueEnum();

		DataTypeManager dtm = program.getListing().getDataTypeManager();
		enummDt = (Enum) enummDt.clone(dtm);

		edit(enummDt);

		JTable table = getEditTable();

		//
		// First, let's try up and down
		//
		int startRow = 0;
		int startCol = 0;
		TableCellEditor editor = startEditTableCell(table, startRow, startCol);
		Component c = getEditorComponent(editor);

		triggerActionKey(c, 0, KeyEvent.VK_DOWN);

		editor = assertEditingCell(table, 1, startCol);
		c = getEditorComponent(editor);

		triggerActionKey(c, 0, KeyEvent.VK_UP);

		editor = assertEditingCell(table, startRow, startCol);
		c = getEditorComponent(editor);

		//
		// Now, let's try going around the world and back
		//
		int lastRow = 2;
		startEditTableCell(table, lastRow, startCol);
		triggerActionKey(c, 0, KeyEvent.VK_DOWN);

		editor = assertEditingCell(table, 0, startCol);
		c = getEditorComponent(editor);

		triggerActionKey(c, 0, KeyEvent.VK_UP);

		assertEditingCell(table, lastRow, startCol);
	}
Tests for editing an Enumerated data type.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/editor/EnumEditor1Test.java