code: def test_graph(self):
      G = nx.path_graph(4)
      H = adjacency_graph(adjacency_data(G))
      assert graphs_equal(G, H)
  
file_path: networkx/networkx/readwrite/json_graph/tests/test_adjacency.py
imports: import copy
  import json
  import pytest
  import networkx
  from networkx.readwrite.json_graph import adjacency_data, adjacency_graph
  from networkx.utils import graphs_equal
label_desc: Use image node_id 1 for calling the TestAdjacency obj's underlying member method code with example usage: obj.test_graph() without return types