# coding: utf-8

"""
    IncQuery Server Web API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: 0.19.0
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import iqs_client
from iqs_client.models.mms_commit_descriptor import MMSCommitDescriptor  # noqa: E501
from iqs_client.rest import ApiException

class TestMMSCommitDescriptor(unittest.TestCase):
    """MMSCommitDescriptor unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test MMSCommitDescriptor
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = iqs_client.models.mms_commit_descriptor.MMSCommitDescriptor()  # noqa: E501
        if include_optional :
            return MMSCommitDescriptor(
                org_id = '6384a103-766c-46e0-830d-8a3b1f479479', 
                project_id = 'PROJECT-bef4f459-5d90-41fb-bc86-4f6d4ebd2dfd', 
                ref_id = 'master', 
                commit_id = '560d3959-3912-434a-a914-8d039d3c9a06', 
                name = '2019-05-07 16:58:37', 
                compartment_uri = 'mms-index:/orgs/6384a103-766c-46e0-830d-8a3b1f479479/projects/PROJECT-d0c236d9-186a-485c-9c67-9e6693d1f0d8/refs/master/commits/fe14e0aa-de48-4308-b01f-f42e5d404060', 
                author = '0'
            )
        else :
            return MMSCommitDescriptor(
                org_id = '6384a103-766c-46e0-830d-8a3b1f479479',
                project_id = 'PROJECT-bef4f459-5d90-41fb-bc86-4f6d4ebd2dfd',
                ref_id = 'master',
                commit_id = '560d3959-3912-434a-a914-8d039d3c9a06',
                compartment_uri = 'mms-index:/orgs/6384a103-766c-46e0-830d-8a3b1f479479/projects/PROJECT-d0c236d9-186a-485c-9c67-9e6693d1f0d8/refs/master/commits/fe14e0aa-de48-4308-b01f-f42e5d404060',
        )

    def testMMSCommitDescriptor(self):
        """Test MMSCommitDescriptor"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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