@Test
	public void testCloseAllWithListShowing() throws Exception {
		setFrameSize(400, 500);

		programNames = new String[] { "notepad", "login", "tms", "taskman", "TestGhidraSearches" };
		openPrograms(programNames);

		TabListPopup<?> tabListPopup = showList();
		Window window = windowForComponent(tabListPopup);
		assertTrue(window.isShowing());

		// remove notepad
		runSwing(() -> panel.removeTab(programs[0]));

		assertTrue(!window.isShowing());
	}
Tests for the plugin that manages the tab for multiple open programs.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/progmgr/MultiTabPluginTest.java