class_docstr: Use MockDict instead of regular DictionaryAgent.
class_docstr_tok: ["Use","MockDict","instead","of","regular","DictionaryAgent","."]
docstr: Replace normal dictionary class with mock one.
docstr_tok: ["Replace","normal","dictionary","class","with","mock","one","."]
code: def dictionary_class():
      """
      Replace normal dictionary class with mock one.
      """
      return MockDict
  
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from parlai.core.torch_agent import TorchAgent, Output
  import torch
  from parlai.core.agents import Agent
label_desc: Use image node_id 1 for calling the MockTorchAgent obj's underlying member method code with example usage: obj.dictionary_class() and returns: MockDict