code: def testParseServingBinaries_TensorFlowServing(self):
      spec = infra_validator_pb2.ServingSpec(
          tensorflow_serving=infra_validator_pb2.TensorFlowServing(
              image_name="gcr.io/my_project/my_serving_image",
              tags=["t1", "t2"],
              digests=["sha256:d1", "sha256:d2"],
          )
      )
      result = serving_bins.parse_serving_binaries(spec)
  
      self.assertLen(result, 4)
      for item in result:
          self.assertIsInstance(item, serving_bins.TensorFlowServing)
      self.assertCountEqual(
          [item.image for item in result],
          [
              "gcr.io/my_project/my_serving_image:t1",
              "gcr.io/my_project/my_serving_image:t2",
              "gcr.io/my_project/my_serving_image@sha256:d1",
              "gcr.io/my_project/my_serving_image@sha256:d2",
          ],
      )
  
imports: import tensorflow
  from tfx.components.infra_validator import serving_bins
  from tfx.proto import infra_validator_pb2
label_desc: Use image node_id 1 for calling the ServingBinsTest obj's underlying member method code with example usage: obj.testParseServingBinaries_TensorFlowServing() without return types