Mock your HTTP responses to test your REST API.