def METHOD_NAME(self, mock_common_ops):
    self.mock_beanstalk.get_environment.return_value = self.env_object
    self.mock_beanstalk.rebuild_environment.return_value = self.request_id
    restoreops.restore(self.env_id)
    mock_common_ops.wait_for_success_events.assert_called_with(self.request_id, timeout_in_minutes=None,
                                                               can_abort=True)