private void createStruct_ColorStruct(Category category, DataTypeManager dataTypeManager) {
		int id0 = dataTypeManager.startTransaction("new structure 1");
		Structure struct0 = new StructureDataType(COLOR_STRUCT_NAME, 12);
		struct0.insert(0, new FloatDataType(), 0x4, "Black", null);
		struct0.add(new ByteDataType(), "White", null);

		category.addDataType(struct0, null);
		dataTypeManager.endTransaction(id0, true);
		waitForTree();
	}
Tests for the action that creates labels from the names and values in a selection of enum
data types.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/CreateLabelsFromEnumsTest.java