# coding: utf-8

"""
    ICAT+ API

    ICAT+ RESTful API with Swagger

    The version of the OpenAPI document: 1.0.0
    Contact: demariaa@esrf.fr
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from icat_plus_client.models.dataset import Dataset

class TestDataset(unittest.TestCase):
    """Dataset unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> Dataset:
        """Test Dataset
            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 `Dataset`
        """
        model = Dataset()
        if include_optional:
            return Dataset(
                parameters = [
                    icat_plus_client.models.datasetparameter.datasetparameter(
                        id = 1.337, 
                        name = '', 
                        value = '', 
                        units = '', 
                        dataset_id = 1.337, 
                        sample_name = '', 
                        sample_id = 1.337, 
                        create_time = '', )
                    ],
                investigation = icat_plus_client.models.dataset_document_investigation.dataset_document_investigation(
                    name = '', 
                    id = 1.337, ),
                id = 1.337,
                name = '',
                start_date = '',
                end_date = '',
                location = '',
                sample_name = '',
                techniques = [
                    icat_plus_client.models.dataset_techniques_inner.dataset_techniques_inner(
                        id = 1.337, 
                        dataset_id = 1.337, 
                        pid = '', 
                        name = '', 
                        description = '', )
                    ]
            )
        else:
            return Dataset(
                investigation = icat_plus_client.models.dataset_document_investigation.dataset_document_investigation(
                    name = '', 
                    id = 1.337, ),
                id = 1.337,
                name = '',
        )
        """

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

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