code: def test_coerce_estimator_and_id(
      estimator, estimator_id, expected_output
  ):
      """Test coerce_estimator_and_id return expected output."""
      assert (
          coerce_estimator_and_id(estimator, estimator_id)
          == expected_output
      ), "coerce_estimator_and_id does not return the expected output."
  
file_path: sktime/sktime/benchmarking/tests/test_forecasting.py
imports: import pandas
  import pytest
  from sktime.benchmarking.benchmarks import coerce_estimator_and_id
  from sktime.benchmarking.forecasting import ForecastingBenchmark
  from sktime.forecasting.naive import NaiveForecaster
  from sktime.forecasting.trend import TrendForecaster
  from sktime.performance_metrics.forecasting import MeanAbsoluteError, MeanAbsolutePercentageError, MeanSquaredPercentageError
  from sktime.split import ExpandingWindowSplitter
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 3 for calling a global function with example usage: test_coerce_estimator_and_id(estimator, estimator_id, expected_output) without return types