code: def testConstructWithModuleFn(self):
      examples = standard_artifacts.Examples()
      model_exports = standard_artifacts.Model()
      evaluator = component.Evaluator(
          examples=channel_utils.as_channel([examples]),
          model=channel_utils.as_channel([model_exports]),
          example_splits=["eval"],
          module_path="module",
      )
      self.assertEqual(
          standard_artifacts.ModelEvaluation.TYPE_NAME,
          evaluator.outputs["evaluation"].type_name,
      )
      self.assertEqual(
          "module", evaluator.exec_properties["module_path"]
      )
  
file_path: tfx/tfx/components/evaluator/component_test.py
imports: import tensorflow
  import tensorflow_model_analysis
  from tfx.components.evaluator import component
  from tfx.orchestration import data_types
  from tfx.proto import evaluator_pb2
  from tfx.types import channel_utils
  from tfx.types import standard_artifacts
  from tfx.utils import json_utils
label_desc: Use image node_id 8 for calling the ComponentTest obj's underlying member method code with example usage: obj.testConstructWithModuleFn() without return types