import unittest

from src.hanko_sdk.models.core import User


class UserTypeEnforcementTest(unittest.TestCase):

    def test_exception_is_thrown_if_user_properties_have_incompatible_type(self):
        self.assertRaises(TypeError, lambda: User(1, 2, 3))


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

import unittest

from src.hanko_sdk.models.core import User


class UserTypeEnforcementTest(unittest.TestCase):

    def test_exception_is_thrown_if_user_properties_have_incompatible_type(self):
        self.assertRaises(TypeError, lambda: User(1, 2, 3))


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