Design as If Testing Matters

To continue with the string of unit testing and Example Driven Design posts, here is another one:

Gordon Weakliem has a post about designing APIs with testing in mind, which links to a James Robertson post on API Design as if Unit Testing Mattered.

The idea, distilled, is this:

If your API is hard to unit test, how in the heck are your users going to be able to use it?