code: def node(self, node_id, name):
      self.events.append("add_node")
      return super(MockedDigraph, self).node(node_id, name)
  
file_path: neupy/tests/layers/graph/test_visualizations.py
imports: import mock
  import tempfile
  import graphviz
  from neupy import layers
  from base import BaseTestCase
label_desc: Use image node_id 1 for calling the MockedDigraph obj's underlying member method code with example usage: obj.node(node_id, name) and returns: super