title: How to have different return values for multiple calls on a Jasmine spy
body: <p>Say I'm spying on a method like this:</p>
  
  <pre><code>spyOn(util, "foo").andReturn(true);
  </code></pre>
  
  <p>The function under test calls <code>util.foo</code> multiple times.</p>
  
  <p>Is it possible to have the spy return <code>true</code> the first time it's called, but return <code>false</code> the second time? Or is there a different way to go about this?</p>