@Test
	public void testEditName() throws Exception {

		table.addRowSelectionInterval(0, 0);
		Rectangle rect = table.getCellRect(0, MemoryMapModel.NAME, true);
		clickMouse(table, 1, rect.x, rect.y, 2, 0);
		waitForSwing();

		SwingUtilities.invokeAndWait(() -> {
			int row = 0;
			TableCellEditor editor = table.getCellEditor(row, MemoryMapModel.NAME);
			Component c = editor.getTableCellEditorComponent(table,
				model.getValueAt(row, MemoryMapModel.NAME), true, row, MemoryMapModel.NAME);
			JTextField tf = (JTextField) c;

			tf.setText(".test");
			editor.stopCellEditing();
		});
		waitForSwing();
		assertEquals(".test", model.getValueAt(0, MemoryMapModel.NAME));
	}
Basic tests for the memory map provider.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/memory/MemoryMapProvider1Test.java