def METHOD_NAME(self):
    project = 'my-project-id'
    zone = 'europe-west5-b'
    name = 'instance-id'
    uri_value = 'projects/{}/zones/{}/instances/{}'.format(project, zone,
                                                           name)
    self.assertEqual(uri_value, uri.Instance.from_uri(uri_value).uri)
    self.assertIsNone(uri.Instance.from_uri(None))
    self.assertIsNone(uri.Instance.from_uri(''))