class_docstr: Test case for the compositor node object.
class_docstr_tok: ["Test","case","for","the","compositor","node","object","."]
docstr: Test adding required nodes.
docstr_tok: ["Test","adding","required","nodes","."]
code: def test_add_required_nodes(self):
      """Test adding required nodes."""
      self.c_node.add_required_nodes([1, 2, 3])
      assert self.c_node.required_nodes == [1, 2, 3]
  
file_path: satpy/satpy/tests/test_node.py
imports: import unittest
  from unittest.mock import MagicMock
  from satpy.node import CompositorNode
label_desc: Use image node_id 3 for calling the TestCompositorNode obj's underlying member method code with example usage: obj.test_add_required_nodes() without return types