code: def test_getImageDataByReviewer_approved_is_true(self):
      returnedImageDatas = (
          self.imageDataExtractor.getImageDataByReviewer(
              reviewerId="theRadologist_1", approved=True, flagged=False
          )
      )
      self.assertEqual(1, len(returnedImageDatas))
      returnedImageData = returnedImageDatas[0]
      expectedImageData = self.nameToImageData["imageId_1"]
      self.assertEqual(
          True, self.areEqual(expectedImageData, returnedImageData)
      )
  
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 21 for calling the ImageDataExtractorTest obj's underlying member method code with example usage: obj.test_getImageDataByReviewer_approved_is_true() without return types