code: def testListPipelinesEmpty(self):
      flags_dict = {labels.ENGINE_FLAG: labels.VERTEX_ENGINE}
      handler = vertex_handler.VertexHandler(flags_dict)
      with self.captureWritesToStream(sys.stdout) as captured:
          handler.list_pipelines()
      self.assertIn("No pipelines to display.", captured.contents())
  
imports: import os
  import sys
  from unittest import mock
  from google.cloud import aiplatform
  from google.cloud.aiplatform import pipeline_jobs
  import tensorflow
  from tfx.dsl.io import fileio
  from tfx.tools.cli import labels
  from tfx.tools.cli.handler import vertex_handler
  from tfx.utils import test_case_utils
label_desc: Use image node_id 8 for calling the VertexHandlerTest obj's underlying member method code with example usage: obj.testListPipelinesEmpty() without return types