A decorator for easily mocking out multiple dependencies by monkey-patching.