private void showFilter() {

		ToggleDockingAction showFilterAction =
			(ToggleDockingAction) getAction(plugin, SampleGraphProvider.SHOW_FILTER_ACTION_NAME);
		setToggleActionSelected(showFilterAction, provider.getActionContext(null), true);

		Component filterPanel =
			findComponentByName(provider.getComponent(), "sample.graph.filter.panel");
		assertNotNull(filterPanel);
		assertTrue(filterPanel.isShowing());
	}
An integration test for the {@link SampleGraphPlugin}.   These tests are really just
regression tests meant to catch if the sample plugin gets broken.  The functionality of
the plugin is barely tested.
Ghidra/Extensions/sample/src/test.slow/java/ghidra/examples/graph/SampleGraphPluginTest.java