@Test
	public void testOpenFunctionTableActionForAdd() {
		Set<Function> functions = Set.of(foo, bar);
		provider = compareFunctions(functions);

		DockingActionIf openTableAction = getAction(plugin, "Add Functions To Comparison");
		performAction(openTableAction, provider, false);

		Window selectWindow = waitForWindowByTitleContaining("Select Functions");
		assertNotNull(selectWindow);
		selectWindow.setVisible(false);
	}
Tests for the {@link FunctionComparisonPlugin function comparison plugin}
that involve the GUI
Ghidra/Features/CodeCompare/src/main/test/ghidra/features/codecompare/plugin/CompareFunctionsProviderTest.java