# coding: utf-8

"""
    LocationIQ

    LocationIQ provides flexible enterprise-grade location based solutions. We work with developers, startups and enterprises worldwide serving billions of requests everyday. This page provides an overview of the technical aspects of our API and will help you get started.  # noqa: E501

    The version of the OpenAPI document: 1.1.0
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import locationiq
from locationiq.models.address import Address  # noqa: E501
from locationiq.rest import ApiException

class TestAddress(unittest.TestCase):
    """Address unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test Address
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = locationiq.models.address.Address()  # noqa: E501
        if include_optional :
            return Address(
                house_number = '0', 
                road = '0', 
                residential = '0', 
                borough = '0', 
                neighbourhood = '0', 
                quarter = '0', 
                hamlet = '0', 
                suburb = '0', 
                island = '0', 
                village = '0', 
                town = '0', 
                city = '0', 
                city_district = '0', 
                county = '0', 
                state = '0', 
                state_district = '0', 
                postcode = '0', 
                country = '0', 
                country_code = '0', 
                state_code = '0'
            )
        else :
            return Address(
        )

    def testAddress(self):
        """Test Address"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


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