code: def testBaseNodeNewOverride(self):
      # Test behavior of `BaseNode.__new__` override.
      input_channel = types.Channel(type=_InputArtifact)
      component = _BasicComponent(folds=10, input=input_channel)
      self.assertIs(component._CONSTRUCT_CLS, _BasicComponent)
      self.assertEqual(component._CONSTRUCT_ARGS, ())
      self.assertEqual(
          component._CONSTRUCT_KWARGS,
          {"folds": 10, "input": input_channel},
      )
  
imports: import tensorflow
  from tfx import types
  from tfx.dsl.components.base import base_component
  from tfx.dsl.components.base import base_executor
  from tfx.dsl.components.base import executor_spec
  from tfx.proto import example_gen_pb2
  from tfx.types import component_spec
  from tfx.types.system_executions import SystemExecution
  from tfx.utils import json_utils
label_desc: Use image node_id 2 for calling the ComponentTest obj's underlying member method code with example usage: obj.testBaseNodeNewOverride() without return types