How to Test Web Services (tip: Don't just hit the danged wire!)

This post illustrates mock objects, and other good techniques, using active-merchant as its example code:

  Radar – O’Reilly