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
  __respond_to?(sym, include_private)
end