title: Partial Mocking/Faking in Unit Testing
body: <p>I have a question about FakeItEasy (or other mock objects since I belive they are pretty similiar). The following is my puesdocode:</p>
  
  <pre><code>public class Service
  {
      public void CheckService()
      {
          ...
          Status status;
  
          if (Getboolean)
          {
              status = Status.Pass;
          }
          else
          {
              status = Status.NotPass;
          }
      }
  
      public bool Getboolean()
      {
          .....
  
          if (someConditions)
              return true;
          else
              return false;
      }
  }
  
  public enum Status
  {
      Pass = 0,
      NotPass = 1
  }
  </code></pre>
  
  <p>Now, I would have to write some unit testing code for the class. Is it possible to mock GetBoolean() while I am really testing Checkservice() with the baseMethod()? If not, how should I modify the code? </p>
  
  <p>Thanks,
  Kyle</p>