code: def test_check_feature_names(
      feature_names, array_type, expected_feature_names
  ):
      X = np.random.randn(10, 3)
      column_names = ["a", "b", "c"]
      X = _convert_container(
          X, constructor_name=array_type, columns_name=column_names
      )
      feature_names_validated = _check_feature_names(X, feature_names)
      assert feature_names_validated == expected_feature_names
  
file_path: scikit-learn/sklearn/inspection/tests/test_pd_utils.py
imports: import numpy
  import pytest
  from sklearn.inspection._pd_utils import _check_feature_names, _get_feature_index
  from sklearn.utils._testing import _convert_container
label_desc: Use image node_id 1 for calling a global function with example usage: test_check_feature_names(feature_names, array_type, expected_feature_names) without return types