# File lib/mocha/mock.rb, line 211
211:     def respond_to?(symbol, include_private = false)
212:       if @responder then
213:         if @responder.method(:respond_to?).arity > 1
214:           @responder.respond_to?(symbol, include_private)
215:         else
216:           @responder.respond_to?(symbol)
217:         end
218:       else
219:         @everything_stubbed || @expectations.matches_method?(symbol)
220:       end
221:     end