title: Need to mock one service method only in an integration test
body: <p>I am writing grails integration tests which call out to a controller which call a service which calls another service which calls another service.</p>
  
  <pre><code>Controller -&gt; ServiceA.method1()  -&gt; ServiceB.method2() -&gt; ServiceC.method3()
  </code></pre>
  
  <p>the last method in the last service to be called (<code>ServiceC.method3()</code>) makes a call to the outside world (another JVM) and returns a result, which I want to mock out for my integration test.  So I am still testing the chain up to and back from that particular service method.</p>
  
  <p>I was reading up on mocking in grails but it seems that it is only possible in unit testing.</p>
  
  <p>Any tips how to progress this one?</p>