private Enum getEnum(String name) {
		waitForTree();
		DataTypeNode newEnumNode = (DataTypeNode) programNode.getChild(name);
		assertNotNull(newEnumNode);
		return (Enum) newEnumNode.getDataType();
	}
Tests for the 'make enum from a selection' action
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/CreateEnumFromSelectionTest.java