title: Mock / stub with integration testing in Java
body: <p>I'm using rest-assured for integration testing on my endpoints.  One of the endpoints has a dependency to another resource (it calls another API conditionally).  Is there a way for me to stub out the API call so I can write a test for that case?</p>