"""
    NLP Sandbox Date Annotator API

    # Overview The OpenAPI specification implemented by NLP Sandbox Annotators.   # noqa: E501

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


import sys
import unittest

import annotator
from annotator.model.tool import Tool
from annotator.models import License, ToolType
globals()['Tool'] = Tool
from annotator.model.tool_dependencies import ToolDependencies


class TestToolDependencies(unittest.TestCase):
    """ToolDependencies unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def testToolDependencies(self):
        """Test ToolDependencies"""
        ToolDependencies(
            tool_dependencies=[
                Tool(name="foo", version="1.0.0", license=License("apache-2.0"),
                     repository="www.google.com", description="foobar",
                     author="Bob", author_email="email@email.com", url="www.google.com",
                     type=ToolType("tool"), api_version="1.0.0")
            ]
        )


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