code: def test_run(self):
      measurements = cellprofiler_core.measurement.Measurements()
  
      module = (
          cellprofiler_core.module.image_segmentation._object_processing.ObjectProcessing()
      )
  
      module.x_name.value = "Objects"
  
      object_set = cellprofiler_core.object.ObjectSet()
  
      parent_objects = cellprofiler_core.object.Objects()
  
      parent_objects.segmented = numpy.ones((10, 10), dtype=numpy.uint8)
  
      object_set.add_objects(parent_objects, "Objects")
  
      workspace = cellprofiler_core.workspace.Workspace(
          pipeline=None,
          module=module,
          image_set=None,
          object_set=object_set,
          measurements=measurements,
          image_set_list=None,
      )
  
      module.function = lambda x: x
  
      module.run(workspace)
  
      assert measurements.has_feature(
          "ObjectProcessing",
          cellprofiler_core.constants.measurement.M_LOCATION_CENTER_X,
      )
  
      assert measurements.has_feature(
          "ObjectProcessing",
          cellprofiler_core.constants.measurement.M_LOCATION_CENTER_Y,
      )
  
      assert measurements.has_feature(
          "ObjectProcessing",
          cellprofiler_core.constants.measurement.M_LOCATION_CENTER_Z,
      )
  
      assert measurements.has_feature(
          "ObjectProcessing",
          cellprofiler_core.constants.measurement.M_NUMBER_OBJECT_NUMBER,
      )
  
      assert measurements.has_feature(
          cellprofiler_core.constants.measurement.IMAGE,
          cellprofiler_core.constants.measurement.FF_COUNT
          % "ObjectProcessing",
      )
  
      assert measurements.has_feature(
          "Objects",
          cellprofiler_core.constants.measurement.FF_CHILDREN_COUNT
          % "ObjectProcessing",
      )
  
      assert measurements.has_feature(
          "ObjectProcessing",
          cellprofiler_core.constants.measurement.FF_PARENT % "Objects",
      )
  
imports: import numpy
  import cellprofiler_core.constants.measurement
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  import cellprofiler_core.module.image_segmentation._image_segmentation
  import cellprofiler_core.module.image_segmentation._object_processing
  import cellprofiler_core.object
  import cellprofiler_core.workspace
label_desc: Use image node_id 17 for calling the TestObjectProcessing obj's underlying member method code with example usage: obj.test_run() without return types