code: def testPipelineGivenName(self):
      class TestPipeline123(pipeline.Pipeline):
          def __init__(self):
              super(TestPipeline123, self).__init__(
                  str, str, "TestName"
              )
              self.stats = []
  
          def transform(self, input_object):
              self._set_stats(
                  [
                      statistics.Counter("counter_1", 5),
                      statistics.Counter("counter_2", 10),
                  ]
              )
              return []
  
      pipe = TestPipeline123()
      self.assertEqual(pipe.name, "TestName")
      pipe.transform("hello")
      stats = pipe.get_stats()
      self.assertEqual(
          set((stat.name, stat.count) for stat in stats),
          set([("TestName_counter_1", 5), ("TestName_counter_2", 10)]),
      )
  
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 8 for calling the PipelineTest obj's underlying member method code with example usage: obj.testPipelineGivenName() and returns: list