private void assertType(String name, boolean isShowing) {

		DataType dt = getTypeFromTree(name);
		if (isShowing) {
			assertNotNull("Data type not found: '%s'", dt);
		}
		else {
			assertNull(dt);
		}
	}
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