# 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.user_operation_receipt import UserOperationReceipt

class TestUserOperationReceipt(unittest.TestCase):
    """UserOperationReceipt unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> UserOperationReceipt:
        """Test UserOperationReceipt
            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 `UserOperationReceipt`
        """
        model = UserOperationReceipt()
        if include_optional:
            return UserOperationReceipt(
                revert = {"data":"0x123","message":"reason for failure"},
                transaction_hash = '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef',
                block_hash = '0x386544b58930c0ec9e8f3ed09fb4cdb76b9ae0a1a37ddcacebe3925b57978e65',
                block_number = 29338819,
                gas_used = '100000'
            )
        else:
            return UserOperationReceipt(
        )
        """

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

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