def METHOD_NAME(self, method, cmd, client, *kwargs):
    client = client or _get_basic_mock_client()
    method(cmd, client, *kwargs)
    self.created_alv_request = client.application_live_views.begin_create_or_update.call_args_list
    self.created_resource = self.created_alv_request[0][0][3] if self.created_alv_request else None
    self.dev_tool_portal_request = client.dev_tool_portals.begin_create_or_update.call_args_list
    self.dev_tool_portal = self.dev_tool_portal_request[0][0][3] if self.dev_tool_portal_request else None
    self.deleted = client.application_live_views.begin_delete.call_args_list is not None