# coding: utf-8

"""
    Xray REST API

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

    The version of the OpenAPI document: 2.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from openapi_client.models.step_response import StepResponse

class TestStepResponse(unittest.TestCase):
    """StepResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> StepResponse:
        """Test StepResponse
            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 `StepResponse`
        """
        model = StepResponse()
        if include_optional:
            return StepResponse(
                step = openapi_client.models.step.Step(
                    id = 85778, 
                    index = 1, 
                    fields = {"Action":{"type":"Wiki","value":{"raw":"This is a step action","rendered":"<p>This is a step action</p>"}},"Toggle":{"type":"Data","value":"false"}}, 
                    attachments = [
                        {"id":25684,"fileName":"attachment.txt","fileIcon":"text.gif","mimeType":"plain/text","fileIconAlt":"Text File","fileSize":"100.0 kB","numericalFileSize":"12","created":"2020-02-06T10:39:37Z","createdDate":1580985577000,"author":"admin","authorFullName":"Bruce Wayne","fileURL":"http://example.com/attachment/25684/example2.txt","filePath":"/Users/example/path/attachment"}
                        ], 
                    test_call_step = False, )
            )
        else:
            return StepResponse(
        )
        """

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

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