class_docstr: A class the mimicks the output of a classifier or regressor to
  allow testing of functionality that depends on it without
  inference overhead.
class_docstr_tok: ["A","class","the","mimicks","the","output","of","a","classifier","or","regressor","to","allow","testing","of","functionality","that","depends","on","it","without","inference","overhead","."]
code: def predict(self, *args, **kwargs):
      return self.__call__(*args, **kwargs)
  
file_path: alibi/alibi/tests/utils.py
imports: from contextlib import contextmanager
  from typing import Optional
  import numpy
label_desc: Use image node_id 6 for calling the MockPredictor obj's underlying member method code with example usage: obj.predict() and returns: self