private void selectDataTypes(DataType dt1, DataType dt2) {
		String catName1 = dt1.getCategoryPath().getName(); // assumes path is only 1 level
		CategoryNode cat1 = (CategoryNode) programNode.getChild(catName1);
		DataTypeNode node1 = cat1.getNode(dt1);

		String catName2 = dt2.getCategoryPath().getName(); // assumes path is only 1 level
		CategoryNode cat2 = (CategoryNode) programNode.getChild(catName2);
		DataTypeNode node2 = cat2.getNode(dt2);

		tree.setSelectedNodes(node1, node2);
		waitForTree(tree);
	}
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