def METHOD_NAME(self):
    self.patcher_beanstalk = mock.patch('ebcli.operations.restoreops.elasticbeanstalk')
    self.mock_beanstalk = self.patcher_beanstalk.start()
    self.env_object.status = 'Terminated'