code: def test_get_measurement_columns():
      module = (
          cellprofiler.modules.measureimageareaoccupied.MeasureImageAreaOccupied()
      )
      module.objects_list.value = OBJECTS_NAME
      module.operand_choice.value = "Objects"
      columns = module.get_measurement_columns(
          cellprofiler_core.pipeline.Pipeline()
      )
      expected = (
          (
              "Image",
              "AreaOccupied_AreaOccupied_%s" % OBJECTS_NAME,
              COLTYPE_FLOAT,
          ),
          (
              "Image",
              "AreaOccupied_Perimeter_%s" % OBJECTS_NAME,
              COLTYPE_FLOAT,
          ),
          (
              "Image",
              "AreaOccupied_TotalArea_%s" % OBJECTS_NAME,
              COLTYPE_FLOAT,
          ),
      )
      assert len(columns) == len(expected)
      for column in columns:
          assert any(
              [
                  all([cf == ef for cf, ef in zip(column, ex)])
                  for ex in expected
              ]
          )
  
file_path: CellProfiler/tests/frontend/modules/test_measureimageareaoccupied.py
imports: import numpy
  import six
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  import cellprofiler.modules.measureimageareaoccupied
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_measurement_columns() without return types