Jasmine spyOn with specific arguments
<p>Suppose I have</p>

<pre><code>spyOn($cookieStore,'get').and.returnValue('abc');
</code></pre>

<p>This is too general for my use case.  Anytime we call</p>

<pre><code>$cookieStore.get('someValue') --&gt;  returns 'abc'
$cookieStore.get('anotherValue') --&gt;  returns 'abc'
</code></pre>

<p>I want to setup a spyOn so I get different returns based on the argument:</p>

<pre><code>$cookieStore.get('someValue') --&gt;  returns 'someabc'
$cookieStore.get('anotherValue') --&gt;  returns 'anotherabc'
</code></pre>

<p>Any suggestions?</p>