code: def testWithBeamPipelineArgs(self):
      class BeamComponent(base_beam_component.BaseBeamComponent):
          EXECUTOR_SPEC = executor_spec.BeamExecutorSpec(
              base_beam_executor.BaseBeamExecutor
          )
          SPEC_CLASS = _EmptyComponentSpec
  
      beam_component = BeamComponent(
          spec=_EmptyComponentSpec()
      ).with_beam_pipeline_args(_TestBeamPipelineArgs)
      self.assertEqual(
          beam_component.executor_spec.beam_pipeline_args,
          _TestBeamPipelineArgs,
      )
  
file_path: tfx/tfx/dsl/components/base/base_beam_component_test.py
imports: import tensorflow
  from tfx import types
  from tfx.dsl.components.base import base_beam_component
  from tfx.dsl.components.base import base_beam_executor
  from tfx.dsl.components.base import base_executor
  from tfx.dsl.components.base import executor_spec
label_desc: Use image node_id 1 for calling the ComponentTest obj's underlying member method code with example usage: obj.testWithBeamPipelineArgs() without return types