title: Testing http request/response in android
body: <p>In my android application I'm using Sprint Rest Template for making API call to the webserver. But in test project where I test method for making requests with String ResT Template I don't want to send real HTTP requests.</p>
  
  <p>Is there any way to mock HTTP requests sent by rest template? Can I provide my preferred response?</p>