class_docstr: Test case for copying a node.
class_docstr_tok: ["Test","case","for","copying","a","node","."]
docstr: Set up the test case.
docstr_tok: ["Set","up","the","test","case","."]
code: def setUp(self):
      """Set up the test case."""
      self.node = CompositorNode(MagicMock())
      self.node.add_required_nodes([MagicMock(), MagicMock()])
      self.node.add_optional_nodes([MagicMock()])
  
      self.node_copy = self.node.copy()
  
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 1 for calling the TestCompositorNodeCopy obj's underlying member method code with example usage: obj.setUp() without return types