# File lib/mocha/class_method.rb, line 22 def unstub remove_new_method restore_original_method mock.unstub(method.to_sym) return if mock.any_expectations? reset_mocha end