Turing the mock.patch.object contexts into method-decorators.