title: go operator test check for failure inside reconciler
body: <p>I have a simple reconciler logic to check for resource exist. If object don't exist then return an error, so essentially it will be requeued.</p>
  <pre><code>if err := r.Provider.EnsureData(ctx, Data); err != nil {
          rlog.Error(errors.Errorf(&quot;unable to check data %s exists&quot;, Data), Data)
  
          if err != nil {
  
              // then go to the beginning of the reconcile
              return ctrl.Result{}, err
          }
  
          return ctrl.Result{}, errors.Errorf(&quot;unable to ensure Data %s exists&quot;, Data)
      } 
  </code></pre>
  <p>So when I unit test it using Ginko , how do I check if there was an error during Reconcile ?</p>