# File lib/faraday/adapter/test.rb, line 31 def match(request_method, path, body) return false if !@stack.key?(request_method) stack = @stack[request_method] consumed = (@consumed[request_method] ||= []) path = normalize_path(path) if stub = matches?(stack, path, body) consumed << stack.delete(stub) stub else matches?(consumed, path, body) end end