# File lib/mocha/any_instance_method.rb, line 37
37:     def restore_original_method
38:       if method_exists?(hidden_method)
39:         begin
40:           stubbee.send(:alias_method, method, hidden_method)
41:           stubbee.send(:remove_method, hidden_method)
42:         rescue NameError
43:           # deal with nasties like ActiveRecord::Associations::AssociationProxy
44:         end
45:       end
46:     end