code: def create_predictor(self, endpoint_name):
      return Predictor(
          endpoint_name, sagemaker_session=self.sagemaker_session
      )
  
imports: from __future__ import absolute_import
  import os
  import subprocess
  from sagemaker.model import FrameworkModel
  from sagemaker.predictor import Predictor
  import pytest
  from mock import MagicMock, Mock, patch
  from sagemaker.session_settings import SessionSettings
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