code: def testConstructWithParameter(self):
      column_name = data_types.RuntimeParameter(
          name="column-name", ptype=str
      )
      threshold = data_types.RuntimeParameter(
          name="threshold", ptype=float
      )
      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]),
          feature_slicing_spec={
              "specs": [{"column_for_slicing": [column_name]}]
          },
          fairness_indicator_thresholds=[threshold],
      )
      self.assertEqual(
          standard_artifacts.ModelEvaluation.TYPE_NAME,
          evaluator.outputs["evaluation"].type_name,
      )
  
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 5 for calling the ComponentTest obj's underlying member method code with example usage: obj.testConstructWithParameter() without return types