code: def create_predictor(self, endpoint_name):
      return Predictor(endpoint_name, self.sagemaker_session)
  
imports: from __future__ import absolute_import
  import copy
  import pytest
  from botocore.utils import merge_dicts
  from mock import Mock, patch
  from mock.mock import ANY
  from sagemaker.model import FrameworkModel
  from sagemaker.pipeline import PipelineModel
  from sagemaker.predictor import Predictor
  from sagemaker.session_settings import SessionSettings
  from sagemaker.sparkml import SparkMLModel
  from tests.unit import SAGEMAKER_CONFIG_MODEL, SAGEMAKER_CONFIG_ENDPOINT_CONFIG
label_desc: Use image node_id 2 for calling the DummyFrameworkModel obj's underlying member method code with example usage: obj.create_predictor(endpoint_name) and returns: Predictor