code: def testConstructInferenceResult(self):
      bulk_inferrer = component.BulkInferrer(
          examples=self._examples,
          model=self._model,
          model_blessing=self._model_blessing,
      )
      self.assertEqual(
          "InferenceResult",
          bulk_inferrer.outputs[
              standard_component_specs.INFERENCE_RESULT_KEY
          ].type_name,
      )
      self.assertNotIn("output_examples", bulk_inferrer.outputs.keys())
  
file_path: tfx/tfx/components/bulk_inferrer/component_test.py
imports: import tensorflow
  from tfx.components.bulk_inferrer import component
  from tfx.proto import bulk_inferrer_pb2
  from tfx.types import channel_utils
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
label_desc: Use image node_id 2 for calling the ComponentTest obj's underlying member method code with example usage: obj.testConstructInferenceResult() without return types