code: def testTFRecordIterator(self):
      tfrecord_file = os.path.join(
          tf.resource_loader.get_data_files_path(),
          "../testdata/tfrecord_iterator_test.tfrecord",
      )
      self.assertEqual(
          [
              MockStringProto(string)
              for string in [b"hello world", b"12345", b"success"]
          ],
          list(
              pipeline.tf_record_iterator(
                  tfrecord_file, MockStringProto
              )
          ),
      )
  
imports: import os
  from absl.testing import absltest
  from magenta.common import testing_lib
  from magenta.pipelines import pipeline
  from magenta.pipelines import statistics
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the PipelineTest obj's underlying member method code with example usage: obj.testTFRecordIterator() without return types