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

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

		TabListPopup<?> tabListPopup = showList();

		@SuppressWarnings("unchecked")
		SearchList<Program> list = findComponent(tabListPopup, SearchList.class);
		list.setSelectedItem(programs[1]);
		triggerText(list.getFilterField(), "\n");
		assertEquals(programs[1], getSelectedTabValue());
	}
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