Perils of stubbing
Tim Bray shares a common mistake made while unit testing. Note that even if you don’t unit test, you can waste the same amount of time doing debugging a problem like this.
For the most part, I have been using a NotImplemented exception when stubbing since the COM days (they had an E_NOTIMPLEMENTED code, as I recall).