import unittest

from service_apis.test import BaseTestCase


class TestDefaultController(BaseTestCase):
    """DefaultController integration test stubs"""

    def test_all_service_apis_get(self):
        """Test case for all_service_apis_get

        
        """
        query_string = [('api-invoker-id', 'api_invoker_id_example'),
                        ('api-name', 'api_name_example'),
                        ('api-version', 'api_version_example'),
                        ('comm-type', openapi_server.CommunicationType()),
                        ('protocol', openapi_server.Protocol()),
                        ('aef-id', 'aef_id_example'),
                        ('data-format', openapi_server.DataFormat()),
                        ('api-cat', 'api_cat_example'),
                        ('preferred-aef-loc', openapi_server.AefLocation()),
                        ('req-api-prov-name', 'req_api_prov_name_example'),
                        ('supported-features', 'supported_features_example'),
                        ('api-supported-features', 'api_supported_features_example'),
                        ('ue-ip-addr', openapi_server.IpAddrInfo()),
                        ('service-kpis', openapi_server.ServiceKpis())]
        headers = { 
            'Accept': 'application/json',
        }
        response = self.client.open(
            '/service-apis/v1/allServiceAPIs',
            method='GET',
            headers=headers,
            query_string=query_string)
        self.assert200(response,
                       'Response body is : ' + response.data.decode('utf-8'))


if __name__ == '__main__':
    unittest.main()
