code: def testConstructWithOutputConfig(self):
      big_query_to_elwc_example_gen = (
          component.BigQueryToElwcExampleGen(
              query="query",
              elwc_config=elwc_config_pb2.ElwcConfig(
                  context_feature_fields=["query_id", "query_content"]
              ),
              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
                          ),
                          example_gen_pb2.SplitConfig.Split(
                              name="test", hash_buckets=1
                          ),
                      ]
                  )
              ),
          )
      )
      self.assertEqual(
          standard_artifacts.Examples.TYPE_NAME,
          big_query_to_elwc_example_gen.outputs["examples"].type_name,
      )
  
file_path: tfx/tfx/extensions/google_cloud_big_query/experimental/elwc_example_gen/component/component_test.py
imports: import tensorflow
  from tfx.extensions.google_cloud_big_query.experimental.elwc_example_gen.component import component
  from tfx.extensions.google_cloud_big_query.experimental.elwc_example_gen.proto import elwc_config_pb2
  from tfx.proto import example_gen_pb2
  from tfx.types import standard_artifacts
label_desc: Use image node_id 3 for calling the ComponentTest obj's underlying member method code with example usage: obj.testConstructWithOutputConfig() without return types