private void assertEnabled(DockingActionIf action, ComponentProvider provider) {
		boolean isEnabled = runSwing(() -> {
			return action.isEnabledForContext(provider.getActionContext(null));
		});
		assertTrue("Action was not enabled when it should be", isEnabled);
	}
Test the plugin that deals with cut/paste comments and labels
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/clipboard/CopyPasteCommentsTest.java