# coding: utf-8

"""
    Tool Registry API

    The OpenAPI specification implemented by the Tool Registry. # Overview TBA   # noqa: E501

    The version of the OpenAPI document: 0.1.0
    Contact: thomas.schaffter@sagebionetworks.org
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import toolregistryclient
from toolregistryclient.models.page_of_tools_all_of import PageOfToolsAllOf  # noqa: E501
from toolregistryclient.rest import ApiException

class TestPageOfToolsAllOf(unittest.TestCase):
    """PageOfToolsAllOf unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test PageOfToolsAllOf
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = toolregistryclient.models.page_of_tools_all_of.PageOfToolsAllOf()  # noqa: E501
        if include_optional :
            return PageOfToolsAllOf(
                tools = [
                    toolregistryclient.models.tool.Tool(
                        id = '0', 
                        name = 'awesome-tool', 
                        version = '1.0.0', 
                        license = 'apache-2.0', 
                        repository = 'github:awesome-org/awesome-tool', 
                        description = 'An awesome tool that returns 42', 
                        author = 'Example Author', 
                        author_email = 'author@example.com', 
                        url = '0', )
                    ]
            )
        else :
            return PageOfToolsAllOf(
        )

    def testPageOfToolsAllOf(self):
        """Test PageOfToolsAllOf"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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