class_docstr: Test api service
code: def test_multi(self):
      service = api_service.APIService()
  
      @service.api(path="/test1")
      def test1(params: List[str]):  # pylint: disable=unused-argument
          return "test1"
  
      @service.api(path="/test2")
      def test2(params: List[str]):  # pylint: disable=unused-argument
          return "test2"
  
      self.assertEqual(len(service.routers), 2)
      self.assertEqual(service.routers[0].func, test1)
      self.assertEqual(service.routers[0].input_model, None)
      self.assertEqual(service.routers[0].output_model, None)
      self.assertEqual(service.routers[0].path, "/test1")
  
      self.assertEqual(service.routers[1].func, test2)
      self.assertEqual(service.routers[1].input_model, None)
      self.assertEqual(service.routers[1].output_model, None)
      self.assertEqual(service.routers[1].path, "/test2")
  
file_path: towhee/tests/unittests/serve/test_api_service.py
imports: from typing import List
  import unittest
  from towhee import api_service
label_desc: Use image node_id 2 for calling the TestAPIService obj's underlying member method code with example usage: obj.test_multi() and returns: str, str