public static DockingActionIf getAction(Tool tool, String owner, String name) {
		Set<DockingActionIf> actions = getActionsByOwnerAndName(tool, owner, name);
		if (actions.isEmpty()) {
			return null;
		}

		if (actions.size() > 1) {
			// This shouldn't happen
			throw new AssertionFailedError(
				"Found more than one action for name '" + name + " (" + owner + ")'\n\t" + actions);
		}

		return CollectionUtils.any(actions);
	}
Finds the action by the given owner name and action name.
If you do not know the owner name, then use
the call {@link #getActionsByName(Tool, String)} instead  (this will not include
reserved system actions).

<P>Note: more specific test case subclasses provide other methods for finding actions
when you have an owner name (which is usually the plugin name).

@param tool the tool containing all system actions
@param owner the owner of the action
@param name the name to match
@return the matching action; null if no matching action can be found
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java