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