code: def test_extractLabelContentByName(self):
      labelsDict = self.jsonParser.extractLabels(
          self.json_with_multiple_versions
      )
      labelContent = self.jsonParser.extractLabelContentByName(
          labelsDict
      )
      exspectedLabelContent = {
          "label_info": [
              {"name": "Lung", "idx": 1},
              {"name": "Heart", "idx": 2},
              {"name": "Trachea", "idx": 3},
              {"name": "Mediastinum", "idx": 4},
              {"name": "Clavicle", "idx": 5},
          ]
      }
      self.assertDictEqual(exspectedLabelContent, labelContent)
  
imports: import json
  import os
  import sys
  import unittest
  from MONAILabelReviewerLib.ImageData import ImageData
  from MONAILabelReviewerLib.JsonParser import JsonParser
label_desc: Use image node_id 21 for calling the JsonParserTest obj's underlying member method code with example usage: obj.test_extractLabelContentByName() without return types