code: def router(self, routes):
      return ConditionalRouter(routes)
  
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 2 for calling the TestRouter obj's underlying member method code with example usage: obj.router(routes) and returns: ConditionalRouter