title: What is the difference between createspy and createspyobj
body: <p>I have used in my code like.</p>
  
  <pre><code>return $provide.decorator('aservice', function($delegate) {
              $delegate.addFn = jasmine.createSpy().andReturn(true);
              return $delegate;
          });
  </code></pre>
  
  <p>In that what createSpy do? can i change the createSpy calls to createspyobj calls.</p>
  
  <p>By using createSpy, we can create one function/method mocks. Createspyobj can do multiple functions mocks. Am i right?</p>
  
  <p>What would be the difference.</p>