code: def routes(self):
      return [
          {
              "condition": "{{streams|length < 2}}",
              "output": "{{query}}",
              "output_type": str,
              "output_name": "query",
          },
          {
              "condition": "{{streams|length >= 2}}",
              "output": "{{streams}}",
              "output_type": List[int],
              "output_name": "streams",
          },
      ]
  
imports: import copy
  from typing import List
  from unittest import mock
  import pytest
  from haystack.components.routers import ConditionalRouter
  from haystack.components.routers.conditional_router import NoRouteSelectedException
  from haystack.dataclasses import ChatMessage
label_desc: Use image node_id 1 for calling the TestRouter obj's underlying member method code with example usage: obj.routes() and returns: list