code: def test_FeatureInteractionVisualization__map_raw_type_to_feature_type(
      monkeypatch,
      col,
      raw_type,
      numeric_as_categorical_threshold,
      expected_type,
  ):
      df = pd.DataFrame({"a": [1, 2, 3]})
      v = FeatureInteractionVisualization(key="abc")
      actual_type = v._map_raw_type_to_feature_type(
          col, raw_type, df, numeric_as_categorical_threshold
      )
      if expected_type is None:
          assert actual_type is None
      else:
          assert actual_type == expected_type
  
imports: from unittest.mock import ANY, MagicMock
  import matplotlib.pyplot
  import numpy
  import pandas
  import pytest
  import scipy
  import seaborn
  from hamcrest.library.integration import match_equality
  from pandas import DataFrame
  from sklearn.inspection import PartialDependenceDisplay
  import autogluon.eda.auto
  from autogluon.common.features.types import R_BOOL, R_CATEGORY, R_FLOAT, R_INT, R_OBJECT
  from autogluon.eda import AnalysisState
  from autogluon.eda.visualization import CorrelationSignificanceVisualization, CorrelationVisualization, FeatureInteractionVisualization, PDPInteractions
  from autogluon.eda.visualization.interaction import FeatureDistanceAnalysisVisualization
label_desc: Use image node_id 17 for calling a global function with example usage: test_FeatureInteractionVisualization__map_raw_type_to_feature_type(monkeypatch, col, raw_type, numeric_as_categorical_threshold, expected_type) without return types