@Test
	public void testActionsEnabled() throws Exception {
		// set the selection for a Folder
		ProgramModule root = program.getListing().getRootModule("Program Tree");
		GroupPath[] gps = new GroupPath[1];
		gps[0] = new GroupPath(new String[] { root.getName(), ".text" });
		setGroupSelection(gps);

		ViewManagerService vmService = tool.getService(ViewManagerService.class);
		ViewProviderService vps = vmService.getCurrentViewProvider();
		getContextObject(vps);

		for (DockingActionIf action : actions) {
			assertTrue(action.isEnabled());
		}
	}
Test the module algorithm plugin gui elements.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/algorithmtree/ModuleAlgorithmPluginTest.java