title: Managing Dependencies with Spock and Geb
body: <p>I am trying to write a fixture for a web app, and am running into issues understanding how to mock certain aspects of the application.</p>
  
  <p>Our project has heavy dependancies on Redis, RabbitMQ, an external account authentication server for both authentication and licensing, Spring Security, and a Websocket Framework called Atmosphere.</p>
  
  <p>All of these components need to be present for the App to even function. How do you go about creating mocks for objects when all of these components need to be present and working without injecting a bunch of extra logic into the production code?</p>