code: def test_multigraph(self):
      G = nx.MultiGraph()
      G.add_edge(1, 2, key="first")
      G.add_edge(1, 2, key="second", color="blue")
      H = adjacency_graph(adjacency_data(G))
      assert graphs_equal(G, H)
      assert H[1][2]["second"]["color"] == "blue"
  
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 5 for calling the TestAdjacency obj's underlying member method code with example usage: obj.test_multigraph() without return types