code: def createImageData(self):
      # is segmented
      imageDataTest_1 = ImageData(
          name="imageId_1",
          fileName="fileName_1",
          nodeName="nodeName_1",
          checkSum="checkSum_1",
          segmented=True,
          timeStamp=1640171961,
          comment="comment_1",
      )
      imageDataTest_1.setClientId("client_id_1")
      imageDataTest_1.setSegmentationFileName(
          "testSegementation_1.nrrd"
      )
      imageDataTest_1.addNewSegmentationMeta(
          tag="final",
          status=self.STATUS.APPROVED,
          level=self.LEVEL.HARD,
          approvedBy="theRadologist_1",
          comment="comment_1",
      )
  
      # is segmented
      imageDataTest_2 = ImageData(
          name="imageId_2",
          fileName="fileName_2",
          nodeName="nodeName_2",
          checkSum="checkSum_2",
          segmented=True,
          timeStamp=1640171961,
          comment="comment_2",
      )
      imageDataTest_2.setClientId("client_id_1")
      imageDataTest_2.setSegmentationFileName(
          "testSegementation_2.nrrd"
      )
      imageDataTest_2.addNewSegmentationMeta(
          tag="final",
          status=self.STATUS.FLAGGED,
          level=self.LEVEL.MEDIUM,
          approvedBy="theRadologist_2",
          comment="comment_2",
      )
  
      # is not segmented
      imageDataTest_3 = ImageData(
          name="imageId_3",
          fileName="fileName_3",
          nodeName="nodeName_3",
          checkSum="checkSum_3",
          segmented=False,
          timeStamp=1640171961,
          comment="comment_3",
      )
      imageDataTest_3.setClientId("client_id_3")
  
      self.nameToImageData: Dict[str, ImageData] = {}
      self.nameToImageData["imageId_1"] = imageDataTest_1
      self.nameToImageData["imageId_2"] = imageDataTest_2
      self.nameToImageData["imageId_3"] = imageDataTest_3
      self.imageDataExtractor = ImageDataExtractor(
          nameToImageData=self.nameToImageData
      )
      self.imageDataExtractor.init()
  
imports: import sys
  import unittest
  from typing import Dict, List
  from MONAILabelReviewerLib.ImageData import ImageData
  from MONAILabelReviewerLib.ImageDataExtractor import ImageDataExtractor
  from MONAILabelReviewerLib.MONAILabelReviewerEnum import Level, SegStatus
label_desc: Use image node_id 2 for calling the ImageDataExtractorTest obj's underlying member method code with example usage: obj.createImageData() without return types