def METHOD_NAME(self):
    parts = parse_resource_id('/subscriptions/00000/resourceGroups/bocconitestlabrg138089/'
                              'providers/microsoft.devtestlab/labs/bocconitestlab/'
                              'virtualmachines/tasktest1')
    self.assertIsNotNone(parts.get('type'))