code: def test_masked(image, measurements, module, objects, workspace):
      """Make sure we can process a completely masked image
  
      Regression test of IMG-971
      """
      image.pixel_data = numpy.zeros((10, 10))
  
      image.mask = numpy.zeros((10, 10), bool)
  
      objects.segmented = numpy.ones((10, 10), int)
  
      module.run(workspace)
  
      for (
          meas_name
      ) in cellprofiler.modules.measureobjectintensity.ALL_MEASUREMENTS:
          feature_name = "%s_%s_%s" % (
              cellprofiler.modules.measureobjectintensity.INTENSITY,
              meas_name,
              "MyImage",
          )
  
          data = measurements.get_current_measurement(
              "MyObjects", feature_name
          )
  
          assert numpy.product(data.shape) == 1
  
          assert numpy.all(numpy.isnan(data) | (data == 0))
  
      assert_features_and_columns_match(measurements, module)
  
imports: import math
  import centrosome.outline
  import numpy
  import numpy.testing
  import pytest
  import skimage.measure
  import skimage.segmentation
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import EXPERIMENT, COLTYPE_FLOAT, C_LOCATION
  import cellprofiler.modules.measureobjectintensity
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
label_desc: Use image node_id 11 for calling a global function with example usage: test_masked(image, measurements, module, objects, workspace) without return types