# File lib/rspec/mocks/proxy.rb, line 112 def has_negative_expectation?(message) method_double[message].expectations.detect {|expectation| expectation.negative_expectation_for?(message)} end