code: def test_make_mock_estimator(
      estimator_class, method_regex, logged_methods
  ):
      """Test that make_mock_estimator output logs the right methods."""
      estimator = make_mock_estimator(estimator_class, method_regex)()
      estimator.fit(y_series)
      methods_called = [entry[0] for entry in estimator.log]
  
      assert set(methods_called) >= set(logged_methods)
  
file_path: sktime/sktime/utils/estimators/tests/test_base.py
imports: import pytest
  from pandas.testing import assert_series_equal
  from sktime.classification.base import BaseClassifier
  from sktime.clustering.base import BaseClusterer
  from sktime.datasets import load_airline
  from sktime.forecasting.base import BaseForecaster
  from sktime.forecasting.naive import NaiveForecaster
  from sktime.transformations.base import BaseTransformer
  from sktime.transformations.series.boxcox import BoxCoxTransformer
  from sktime.utils.estimators import make_mock_estimator
  from sktime.utils.estimators._base import _method_logger, _MockEstimatorMixin
label_desc: Use image node_id 6 for calling a global function with example usage: test_make_mock_estimator(estimator_class, method_regex, logged_methods) without return types