private void createEnumFromSelection() {

		DataTypeNode testEnumNode1 = (DataTypeNode) programNode.getChild("Colors");
		assertNotNull(testEnumNode1);

		DataTypeNode testEnumNode2 = (DataTypeNode) programNode.getChild("MoreColors");
		assertNotNull(testEnumNode2);

		expandNode(programNode);
		selectNodes(testEnumNode1, testEnumNode2);
		waitForTree();

		performEnumFromSelectionAction();
	}
Tests for the 'make enum from a selection' action
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/CreateEnumFromSelectionTest.java