module Pact::RSpec::Matchers

def match_header header_name, expected

def match_header header_name, expected
  MatchHeader.new(header_name, expected)
end

def match_term expected, options

def match_term expected, options
  MatchTerm.new(expected, options.fetch(:with), options.fetch(:diff_formatter))
end