# coding: utf-8

"""
    XENON PMT API

    API for the XENON PMT database  # noqa: E501

    The version of the OpenAPI document: 1.0
    Contact: joe.mosbacher@gmail.com
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import xepmts
from xepmts.models.muveto_voltage_change import MuvetoVoltageChange  # noqa: E501
from xepmts.rest import ApiException

class TestMuvetoVoltageChange(unittest.TestCase):
    """MuvetoVoltageChange unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test MuvetoVoltageChange
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = xepmts.models.muveto_voltage_change.MuvetoVoltageChange()  # noqa: E501
        if include_optional :
            return MuvetoVoltageChange(
                timestamp = '0', 
                detector = 'muveto', 
                experiment = 'xenonnt', 
                pmt_index = 56, 
                old_voltage = 1.337, 
                new_voltage = 1.337, 
                operator = '0', 
                comments = '0', 
                id = '0'
            )
        else :
            return MuvetoVoltageChange(
                detector = 'muveto',
                experiment = 'xenonnt',
                pmt_index = 56,
                new_voltage = 1.337,
        )

    def testMuvetoVoltageChange(self):
        """Test MuvetoVoltageChange"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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