text: # -*- coding: utf-8 -*-
  
  """
      tests.controllers.test_template_params_controller
  
      This file was automatically generated for Stamplay by APIMATIC BETA v2.0 on 08/03/2016
  """
  
  import jsonpickle
  from tests.controllers.controller_test_base import *
  
  class TemplateParamsControllerTests(ControllerTestBase):
  
      @classmethod
      def setUpClass(cls):
          super(TemplateParamsControllerTests, cls).setUpClass()
          cls.controller = cls.api_client.template_params
  
      # Todo: Add description for test test_send_string_array
      def test_send_string_array(self):
          # Parameters for the API call
          strings = APIHelper.json_deserialize('["abc", "def"]')
  
          # Perform the API call through the SDK function
          result = self.controller.send_string_array(strings)
  
          # Test response code
          self.assertEquals(self.response_catcher.response.status_code, 200)
          
          # Test whether the captured response is as we expected
          self.assertIsNotNone(result)
          expected_body = APIHelper.json_deserialize('{"path":"/abc/def"}')
          received_body = APIHelper.json_deserialize(self.response_catcher.response.raw_body)
          self.assertTrue(TestHelper.match_body(expected_body, received_body, check_values = True))
  
  
      # Todo: Add description for test test_send_integer_array
      def test_send_integer_array(self):
          # Parameters for the API call
          integers = APIHelper.json_deserialize('[1,2,3,4,5]')
  
          # Perform the API call through the SDK function
          result = self.controller.send_integer_array(integers)
  
          # Test response code
          self.assertEquals(self.response_catcher.response.status_code, 200)
          
          # Test whether the captured response is as we expected
          self.assertIsNotNone(result)
          expected_body = APIHelper.json_deserialize('{"path":"/1/2/3/4/5"}')
          received_body = APIHelper.json_deserialize(self.response_catcher.response.raw_body)
          self.assertTrue(TestHelper.match_body(expected_body, received_body, check_values = True))
  
  
  