@Test
	public void testFilter_Structures() {

		assertStructures(true);
		assertType("TypeDefToMyStruct", true);

		// press the filter button
		DockingActionIf action = getAction(plugin, "Show Filter");
		performAction(action, provider, false);

		DtFilterDialog dialog = waitForDialogComponent(DtFilterDialog.class);
		setToggleButtonSelected(dialog.getComponent(), "Structures", false);
		pressButtonByText(dialog, "OK");
		waitForTree();

		assertStructures(false);
		assertType("TypeDefToMyStruct", true);

		// Now also turn off typedefs
		performAction(action, provider, false);
		dialog = waitForDialogComponent(DtFilterDialog.class);
		setToggleButtonSelected(dialog.getComponent(), "StructuresTypeDefs", false);
		pressButtonByText(dialog, "OK");
		waitForTree();

		assertStructures(false);
		assertType("TypeDefToMyStruct", false);
	}
Tests for managing categories through the data manager plugin and tests for
actions being enabled when a node is selected.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/DataTypeManagerPluginTest.java