code: def test_getImageDataByClientId(self):
      # Set up
      json_with_segmentation = json.loads(self.testDataStore_V2_json)
  
      self.controller.monaiServerREST = MonaiServerREST(self.url)
      mockObject = self.controller.monaiServerREST
      mockObject.requestDataStoreInfo = Mock(
          return_value=json_with_segmentation
      )
  
      success = self.controller.initMetaDataProcessing()
      self.assertTrue(success)
  
      # Test
      imageDatas = self.controller.getImageDataByClientId(
          selectedClientId="Test-Radiolgist-Segmented",
          isApproved=True,
          isFlagged=False,
      )
  
      # Verify
      self.assertEqual(1, len(imageDatas))
      returnedImageData = imageDatas[0]
      expectedImageData = self.nameToImageData["6667571"]
      self.assertTrue(
          self.areEqual(expectedImageData, returnedImageData)
      )
  
imports: import json
  import os
  import sys
  import unittest
  from typing import Dict
  from unittest.mock import Mock, patch
  from MONAILabelReviewerLib.ImageData import ImageData
  from MONAILabelReviewerLib.ImageDataController import ImageDataController
  from MONAILabelReviewerLib.MONAILabelReviewerEnum import Level, SegStatus
  from MONAILabelReviewerLib.MonaiServerREST import MonaiServerREST
label_desc: Use image node_id 13 for calling the ImageDataControllerTest obj's underlying member method code with example usage: obj.test_getImageDataByClientId() without return types