class WebMock::RequestPattern

def to_s

def to_s
  string = "#{@method_pattern.to_s.upcase}".dup
  string << " #{@uri_pattern.to_s}"
  string << " with body #{@body_pattern.to_s}" if @body_pattern
  string << " with headers #{@headers_pattern.to_s}" if @headers_pattern
  string << " with given block" if @with_block
  string
end