# coding: utf-8

"""
    Coinbase Developer Platform APIs

    The Coinbase Developer Platform APIs - leading the world's transition onchain.

    The version of the OpenAPI document: 2.0.0
    Contact: cdp@coinbase.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from cdp.openapi_client.models.idl_instructions_inner import IdlInstructionsInner

class TestIdlInstructionsInner(unittest.TestCase):
    """IdlInstructionsInner unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> IdlInstructionsInner:
        """Test IdlInstructionsInner
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `IdlInstructionsInner`
        """
        model = IdlInstructionsInner()
        if include_optional:
            return IdlInstructionsInner(
                name = 'transfer_checked',
                discriminator = [119,250,202,24,253,135,244,121],
                args = [
                    cdp.openapi_client.models.idl_instructions_inner_args_inner.Idl_instructions_inner_args_inner(
                        name = 'amount', 
                        type = 'u64', )
                    ],
                accounts = [
                    cdp.openapi_client.models.idl_instructions_inner_accounts_inner.Idl_instructions_inner_accounts_inner(
                        name = 'mint', 
                        writable = True, 
                        signer = False, )
                    ]
            )
        else:
            return IdlInstructionsInner(
                name = 'transfer_checked',
                discriminator = [119,250,202,24,253,135,244,121],
                args = [
                    cdp.openapi_client.models.idl_instructions_inner_args_inner.Idl_instructions_inner_args_inner(
                        name = 'amount', 
                        type = 'u64', )
                    ],
        )
        """

    def testIdlInstructionsInner(self):
        """Test IdlInstructionsInner"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

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