class WebMock::RequestPatternMatcher

def at_least_once

def at_least_once
  @request_execution_verifier.at_least_times_executed = 1
  self
end

def at_least_times(times)

def at_least_times(times)
  @request_execution_verifier.at_least_times_executed = times.to_i
  self
end

def at_least_twice

def at_least_twice
  @request_execution_verifier.at_least_times_executed = 2
  self
end

def at_most_once

def at_most_once
  @request_execution_verifier.at_most_times_executed = 1
  self
end

def at_most_times(times)

def at_most_times(times)
  @request_execution_verifier.at_most_times_executed = times.to_i
  self
end

def at_most_twice

def at_most_twice
  @request_execution_verifier.at_most_times_executed = 2
  self
end

def description

def description
  @request_execution_verifier.description
end

def does_not_match?(request_pattern)

def does_not_match?(request_pattern)
  @request_execution_verifier.request_pattern = request_pattern
  @request_execution_verifier.does_not_match?
end

def failure_message

def failure_message
  @request_execution_verifier.failure_message
end

def failure_message_when_negated

def failure_message_when_negated
  @request_execution_verifier.failure_message_when_negated
end

def initialize

def initialize
  @request_execution_verifier = RequestExecutionVerifier.new
end

def matches?(request_pattern)

def matches?(request_pattern)
  @request_execution_verifier.request_pattern = request_pattern
  @request_execution_verifier.matches?
end

def once

def once
  @request_execution_verifier.expected_times_executed = 1
  self
end

def times(times)

def times(times)
  @request_execution_verifier.expected_times_executed = times.to_i
  self
end

def twice

def twice
  @request_execution_verifier.expected_times_executed = 2
  self
end