A helper to allow you to mock out methods in a single nodeunit test without affecting the rest of the tests.