code: def _fake_references(self, namespace, **params):
          
          rc = None if params['ResultClass'] is None else \
              params['ResultClass'].classname
          role = params['Role']
          obj_name = params['ObjectName']
          classname = obj_name.classname
          pl = params['PropertyList']
          ico = params['IncludeClassOrigin']
          iq = params['IncludeQualifiers']
  
          if isinstance(obj_name, CIMClassName):
              rtn_classnames = self._get_reference_classnames(
                  classname, namespace, rc, role)
              # returns list of tuples of (CIMClassname, CIMClass)
              return self._return_assoc_class_tuples(rtn_classnames, namespace,
                                                     iq, ico, pl)
  
          assert isinstance(obj_name, CIMInstanceName)
          ref_paths = self._get_reference_instnames(obj_name, namespace, rc,
                                                    role)
          rtn_insts = []
          for path in ref_paths:
              rtn_insts.append(self._get_instance(
                  path, namespace, None,
                  params['PropertyList'],
                  params['IncludeClassOrigin'],
                  params['IncludeQualifiers']))
  
          for inst in rtn_insts:
              if inst.path.host is None:
                  inst.path.host = self.host
  
          return self._return_assoc_tuple(rtn_insts)
docs: Implements a mock WBEM server responder for
          :meth:`~pywbem.WBEMConnection.References`