title: What is the difference between and.stub vs and.callFake in Jasmine
body: <p>I am a newbie to <code>Jasmine</code> and a bit confused between above two functions. My sole purpose is to give a fake implementation to a spy function. But, If I put debugger in <code>callFake</code> the it is getting called but <code>and.stub</code>'s function is not getting called. Could anyone please explain what is the difference between these two functions.</p>
  
  <pre><code>spyOn(manager, 'getUsers').and.stub(function () {
      //to do
  });
  </code></pre>
  
  <p>vs</p>
  
  <pre><code> spyOn(manager, 'getUsers').and.callFake(function () {
          //to do
      });
  </code></pre>