title: Are new return objects created when mocks are called in Spock?
body: <p>When I try invoking the mock, we noticed it was returning a different object everytime.</p>
  
  <pre><code>List returnedList = []
  Service service = Mock()
  service.method() &gt;&gt; returnedList
  
  println System.identityHashCode(service.method())
  println System.identityHashCode(service.method())
  println System.identityHashCode(service.method())
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>710903845
  1709394654
  759720212
  </code></pre>
  
  <p>Is there a way for it to just return the same object?</p>