code: def test_rasterize_invalid_like_raster(tmpdir, runner, basic_feature):
      output = str(tmpdir.join("test.tif"))
      result = runner.invoke(
          main_group,
          ["rasterize", output, "--like", str(tmpdir.join("foo.tif"))],
          input=json.dumps(basic_feature),
      )
  
      assert result.exit_code == 2
      assert "Invalid value for" in result.output
      assert "--like" in result.output
  
imports: import json
  import os
  import numpy
  import rasterio
  from rasterio.rio.main import main_group
label_desc: Use image node_id 12 for calling a global function with example usage: test_rasterize_invalid_like_raster(tmpdir, runner, basic_feature) without return types