code: def test_node_connected_components(self):
      ncc = nx.node_connected_component
      G = self.grid
      C = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}
      assert ncc(G, 1) == C
  
file_path: networkx/networkx/algorithms/components/tests/test_connected.py
imports: import pytest
  import networkx
  from networkx import NetworkXNotImplemented
  from networkx import convert_node_labels_to_integers
  from networkx.classes.tests import dispatch_interface
label_desc: Use image node_id 6 for calling the TestConnected obj's underlying member method code with example usage: obj.test_node_connected_components() without return types