code: def test_check_boundary_response_method(
      estimator,
      response_method,
      class_of_interest,
      expected_prediction_method,
  ):
      """Check the behaviour of `_check_boundary_response_method` for the supported
      cases.
      """
      prediction_method = _check_boundary_response_method(
          estimator, response_method, class_of_interest
      )
      assert prediction_method == expected_prediction_method
  
imports: import warnings
  import numpy
  import pytest
  from sklearn.base import BaseEstimator, ClassifierMixin
  from sklearn.datasets import load_diabetes, load_iris, make_classification, make_multilabel_classification
  from sklearn.ensemble import IsolationForest
  from sklearn.inspection import DecisionBoundaryDisplay
  from sklearn.inspection._plot.decision_boundary import _check_boundary_response_method
  from sklearn.linear_model import LogisticRegression
  from sklearn.preprocessing import scale
  from sklearn.tree import DecisionTreeClassifier, DecisionTreeRegressor
  from sklearn.utils._testing import assert_allclose, assert_array_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_check_boundary_response_method(estimator, response_method, class_of_interest, expected_prediction_method) without return types