code: def testDoWithBlessedModel(self):
      # Run executor.
      bulk_inferrer = executor.Executor(self._context)
      bulk_inferrer.Do(
          self._input_dict, self._output_dict_ir, self._exec_properties
      )
  
      # Check outputs.
      self.assertTrue(fileio.exists(self._prediction_log_dir))
      results = self._get_results(
          self._prediction_log_dir,
          executor._PREDICTION_LOGS_FILE_NAME,
          prediction_log_pb2.PredictionLog,
      )
      self.assertTrue(results)
      self.assertEqual(
          len(results[0].classify_log.response.result.classifications),
          1,
      )
      self.assertEqual(
          len(
              results[0]
              .classify_log.response.result.classifications[0]
              .classes
          ),
          2,
      )
  
file_path: tfx/tfx/components/bulk_inferrer/executor_test.py
imports: import os
  import tensorflow
  from tfx.components.bulk_inferrer import executor
  from tfx.dsl.io import fileio
  from tfx.proto import bulk_inferrer_pb2
  from tfx.types import artifact_utils
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import io_utils
  from tfx.utils import proto_utils
  from google.protobuf import text_format
  from tensorflow_serving.apis import prediction_log_pb2
label_desc: Use image node_id 4 for calling the ExecutorTest obj's underlying member method code with example usage: obj.testDoWithBlessedModel() without return types