code: def testConstructWithInputConfig(self):
      big_query_to_elwc_example_gen = (
          component.BigQueryToElwcExampleGen(
              elwc_config=elwc_config_pb2.ElwcConfig(
                  context_feature_fields=["query_id", "query_content"]
              ),
              input_config=example_gen_pb2.Input(
                  splits=[
                      example_gen_pb2.Input.Split(
                          name="train", pattern="query1"
                      ),
                      example_gen_pb2.Input.Split(
                          name="eval", pattern="query2"
                      ),
                      example_gen_pb2.Input.Split(
                          name="test", pattern="query3"
                      ),
                  ]
              ),
          )
      )
      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 4 for calling the ComponentTest obj's underlying member method code with example usage: obj.testConstructWithInputConfig() without return types