# File lib/rspec/mocks/method_double.rb, line 181 def raise_method_not_stubbed_error raise MockExpectationError, "The method `#{method_name}` was not stubbed or was already unstubbed" end