code: def testConstructWithInputConfig(self):
      input_config = example_gen_pb2.Input(
          splits=[
              example_gen_pb2.Input.Split(
                  name="train", pattern="train/*"
              ),
              example_gen_pb2.Input.Split(
                  name="eval", pattern="eval/*"
              ),
              example_gen_pb2.Input.Split(
                  name="test", pattern="test/*"
              ),
          ]
      )
      example_gen = TestFileBasedExampleGenComponent(
          input_base="path", input_config=input_config
      )
      self.assertEqual(
          standard_artifacts.Examples.TYPE_NAME,
          example_gen.outputs[
              standard_component_specs.EXAMPLES_KEY
          ].type_name,
      )
  
      stored_input_config = example_gen_pb2.Input()
      proto_utils.json_to_proto(
          example_gen.exec_properties[
              standard_component_specs.INPUT_CONFIG_KEY
          ],
          stored_input_config,
      )
      self.assertEqual(input_config, stored_input_config)
  
imports: import tensorflow
  from tfx.components.example_gen import base_example_gen_executor
  from tfx.components.example_gen import component
  from tfx.components.example_gen import driver
  from tfx.dsl.components.base import executor_spec
  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
  from google.protobuf import any_pb2
label_desc: Use image node_id 8 for calling the ComponentTest obj's underlying member method code with example usage: obj.testConstructWithInputConfig() without return types