# coding: utf-8

"""
    DeviceServer

    DeviceServer API  # noqa: E501

    The version of the OpenAPI document: 1.1.2
    Contact: david@3adesign.co.uk
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import DeviceServer
from DeviceServer.models.device_rx_buffer import DeviceRxBuffer  # noqa: E501
from DeviceServer.rest import ApiException

class TestDeviceRxBuffer(unittest.TestCase):
    """DeviceRxBuffer unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test DeviceRxBuffer
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = DeviceServer.models.device_rx_buffer.DeviceRxBuffer()  # noqa: E501
        if include_optional :
            return DeviceRxBuffer(
                locator = '', 
                state = '', 
                timestamp_db_write = 56, 
                timestamp_hid_message = 56
            )
        else :
            return DeviceRxBuffer(
                locator = '',
        )

    def testDeviceRxBuffer(self):
        """Test DeviceRxBuffer"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)

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