title: Jasmine have createSpy() return mock object
body: <p>I'm trying to mock up a response object, and it looks something like this:</p>
  
  <pre><code>var res = {
    status: jasmine.createSpy().andReturn(this),
    send: jasmine.createSpy().andReturn(this)
  }
  </code></pre>
  
  <p>This returns the jasmine object. I'd really like to return the original res variable containing the mocked functions. Is that possible? I'm mainly implementing this to unit test functions containing res.status().send(), which is proving to be difficult.</p>