private void assertAllTypesInTree(DataTypeManager dtm) {
		Iterator<DataType> types = dtm.getAllDataTypes();
		Map<String, DataTypeNode> nodesByName = getNodes(dtm);
		for (DataType dt : CollectionUtils.asIterable(types)) {
			assertNotNull(
				"Node not found for type '%s' in dtm '%s'".formatted(dt.getName(), dtm.getName()),
				nodesByName.get(dt.getName()));
		}
	}
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