code: def testConstructWithOutputConfig(self):
      big_query_example_gen = component.BigQueryExampleGen(
          query="query",
          output_config=example_gen_pb2.Output(
              split_config=example_gen_pb2.SplitConfig(
                  splits=[
                      example_gen_pb2.SplitConfig.Split(
                          name="train", hash_buckets=2
                      ),
                      example_gen_pb2.SplitConfig.Split(
                          name="eval", hash_buckets=1
                      ),
                  ]
              )
          ),
      )
      self.assertEqual(
          standard_artifacts.Examples.TYPE_NAME,
          big_query_example_gen.outputs[
              standard_component_specs.EXAMPLES_KEY
          ].type_name,
      )
  
file_path: tfx/tfx/extensions/google_cloud_big_query/example_gen/component_test.py
imports: import tensorflow
  from tfx.extensions.google_cloud_big_query.example_gen import component
  from tfx.proto import example_gen_pb2
  from tfx.proto import range_config_pb2
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import proto_utils
label_desc: Use image node_id 2 for calling the ComponentTest obj's underlying member method code with example usage: obj.testConstructWithOutputConfig() without return types