# File lib/mocha/mock.rb, line 315 def respond_to_missing?(symbol, include_private = false) if @responder if @responder.method(:respond_to?).arity > 1 @responder.respond_to?(symbol, include_private) else @responder.respond_to?(symbol) end else @everything_stubbed || all_expectations.matches_method?(symbol) end end