def METHOD_NAME():
    """The polling method should always expose the final resource"""
    resource = object()
    assert DeleteRecoverPollingMethod(command=None, final_resource=resource, finished=True).resource() is resource
    command = mock.Mock()
    polling_method = DeleteRecoverPollingMethod(command, final_resource=resource, finished=False)
    assert polling_method.resource() is resource
    polling_method.run()
    assert polling_method.resource() is resource