@Test
	public void testResize() throws Exception {
		setFrameSize(500, 500);
		programNames = new String[] { "notepad", "login", "tms", "taskman", "TestGhidraSearches" };
		openPrograms(programNames);

		HiddenValuesButton control = findComponent(tool.getToolFrame(), HiddenValuesButton.class);
		assertNotNull(control);

		assertEquals(programNames.length, panel.getTabCount());
		assertEquals(2, panel.getVisibleTabs().size());
		assertEquals(3, panel.getHiddenTabs().size());

		setFrameSize(925, 500);

		control = findComponent(tool.getToolFrame(), HiddenValuesButton.class);

		assertNull(control);
		assertEquals(5, panel.getVisibleTabs().size());
		assertEquals(0, panel.getHiddenTabs().size());
	}
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