Using HTTP fakes
Here's another way to avoid making HTTP requests in your tests.
Links
Handcrafted Mocks
Up next
Testing Middleware