code: def test_shrink_image_labels(
      image_labels, module, object_set, objects, workspace
  ):
      objects.segmented = image_labels
  
      module.x_name.value = "InputObjects"
  
      module.run(workspace)
  
      expected_labels = numpy.zeros((20, 20), dtype=numpy.uint8)
  
      expected_labels[4, 4] = 1
  
      expected_labels[3, 14] = 2
  
      expected_labels[14, 3] = 3
  
      expected_labels[15, 15] = 4
  
      numpy.testing.assert_array_equal(
          object_set.get_objects("ShrinkToObjectCenters").segmented,
          expected_labels,
      )
  
file_path: CellProfiler/tests/frontend/modules/test_shrinktoobjectcenters.py
imports: import numpy
  import numpy.testing
  import pytest
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.shrinktoobjectcenters
  import cellprofiler_core.object
label_desc: Use image node_id 6 for calling a global function with example usage: test_shrink_image_labels(image_labels, module, object_set, objects, workspace) without return types