<reponame>AYLIEN/aylien_newsapi_python
# coding: utf-8

"""
    AYLIEN News API

    The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client.   # noqa: E501

    The version of the OpenAPI document: 5.1.0
    Contact: <EMAIL>
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import aylien_news_api
from aylien_news_api.models.media import Media  # noqa: E501
from aylien_news_api.rest import ApiException

class TestMedia(unittest.TestCase):
    """Media unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test Media
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = aylien_news_api.models.media.Media()  # noqa: E501
        if include_optional :
            return Media(
                content_length = 56, 
                format = 'BMP', 
                height = 56, 
                type = 'image', 
                url = '0', 
                width = 56
            )
        else :
            return Media(
        )

    def testMedia(self):
        """Test Media"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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

# coding: utf-8

"""
    AYLIEN News API

    The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client.   # noqa: E501

    The version of the OpenAPI document: 5.1.0
    Contact: <EMAIL>
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import aylien_news_api
from aylien_news_api.models.media import Media  # noqa: E501
from aylien_news_api.rest import ApiException

class TestMedia(unittest.TestCase):
    """Media unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test Media
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = aylien_news_api.models.media.Media()  # noqa: E501
        if include_optional :
            return Media(
                content_length = 56, 
                format = 'BMP', 
                height = 56, 
                type = 'image', 
                url = '0', 
                width = 56
            )
        else :
            return Media(
        )

    def testMedia(self):
        """Test Media"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


if __name__ == '__main__':
    unittest.main()
# coding: utf-8 AYLIEN News API      The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client.   # noqa: E501      The version of the OpenAPI document: 5.1.0     Contact: <EMAIL>     Generated by: https://openapi-generator.tech # noqa: E501 Media unit test stubs Test Media             include_option is a boolean, when False only required             params are included, when True both required and             optional params are included # model = aylien_news_api.models.media.Media()  # noqa: E501 Test Media