# coding: utf-8

"""
    OpenLattice API

    OpenLattice API  # noqa: E501

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


from __future__ import absolute_import

import unittest
import datetime

import openlattice
from openlattice.models.organization_member import OrganizationMember  # noqa: E501
from openlattice.rest import ApiException

class TestOrganizationMember(unittest.TestCase):
    """OrganizationMember unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test OrganizationMember
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = openlattice.models.organization_member.OrganizationMember()  # noqa: E501
        if include_optional :
            return OrganizationMember(
                principal = openlattice.models.securable_principal.SecurablePrincipal(
                    id = '0', 
                    principal = openlattice.models.principal.Principal(
                        type = '0', 
                        id = '0', ), 
                    title = '0', 
                    description = '0', ), 
                profile = openlattice.models.auth0user_basic.Auth0userBasic(
                    user_id = '0', 
                    email = '0', 
                    nickname = '0', 
                    username = '0', 
                    roles = [
                        '0'
                        ], 
                    com/openlattice/organization = [
                        '0'
                        ], ), 
                roles = [
                    openlattice.models.securable_principal.SecurablePrincipal(
                        id = '0', 
                        principal = openlattice.models.principal.Principal(
                            type = '0', 
                            id = '0', ), 
                        title = '0', 
                        description = '0', )
                    ]
            )
        else :
            return OrganizationMember(
        )

    def testOrganizationMember(self):
        """Test OrganizationMember"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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