I've been working on a module called Test::Stub, which would
stub specific functions from a module, for this SPECIFIC
purpose -- pretending to call them without ACTUALLY calling
them. This is a perfect example.
I haven't got as far as thinking about a modue, I'm just
doing it by hand for each method I want to override. If you
finish the module perhaps you could post it, I'd like to have
a look.