How to test dependancies that make external calls?

My favorite is just to build a mock web service that returns the values in the format that I need to test.

Then I can say that configuring the endpoint url is a feature of the library as well. :stuck_out_tongue_winking_eye: