class Minitest::Mock

def respond_to? sym, include_private = false # :nodoc:

:nodoc:
def respond_to? sym, include_private = false # :nodoc:
  return true if @expected_calls.key? sym.to_sym
  return true if @delegator && @delegator.respond_to?(sym, include_private)
  __respond_to?(sym, include_private)
end