@Test
	public void testActionsEnabled() {
		// select first row
		// all actions except "merge" should be enabled
		table.addRowSelectionInterval(0, 0);
		Set<DockingActionIf> actions = getActionsByOwner(tool, plugin.getName());
		for (DockingActionIf action : actions) {
			String name = action.getName();
			if (name.equals("Merge Blocks") || name.equals("Local Menu") ||
				name.equals("Rename Overlay Space") || name.equals("Close Window")) {
				assertFalse(action.isEnabled());
			}
			else {
				assertTrue("Action not enabled when it should be: " + name,
					action.isEnabled());
			}
		}
	}
Basic tests for the memory map provider.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/memory/MemoryMapProvider1Test.java