code: def test_rasterize_featurecollection(
      tmpdir, runner, basic_feature, pixelated_image_file
  ):
      output = str(tmpdir.join("test.tif"))
      collection = {
          "type": "FeatureCollection",
          "features": [basic_feature],
      }
      result = runner.invoke(
          main_group,
          ["rasterize", output, "--like", pixelated_image_file],
          input=json.dumps(collection),
      )
      assert result.exit_code == 0
  
imports: import json
  import os
  import numpy
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 14 for calling a global function with example usage: test_rasterize_featurecollection(tmpdir, runner, basic_feature, pixelated_image_file) without return types