# -*- coding: utf-8 -*-

"""
    signing

    This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
"""

import jsonpickle
import dateutil.parser
from .controller_test_base import ControllerTestBase
from ..test_helper import TestHelper
from signing.api_helper import APIHelper


class MiscControllerTests(ControllerTestBase):

    @classmethod
    def setUpClass(cls):
        super(MiscControllerTests, cls).setUpClass()
        cls.controller = cls.api_client.misc

    # Todo: Add description for test test_sign
    def test_sign(self):
        # Parameters for the API call
        x_api_key = 'CmKeWZa_jA_bv8yL-zePBx2endrl1O9MKY3-eU05y9w'
        x_api_client = '773ceb43ce4346bfa85271d2bf53d262'
        content_type = 'application/json'
        body = APIHelper.json_deserialize('{}')

        # Perform the API call through the SDK function
        self.controller.sign(x_api_key, x_api_client, content_type, body)

        # Test response code
        self.assertEquals(self.response_catcher.response.status_code, 200)

