class RSpec::Mocks::ArgumentMatchers::HashNotIncludingMatcher

def ==(actual)

def ==(actual)
  @expected.each do | key, value |
    return false if actual.has_key?(key) && value == actual[key]
  end
  true
rescue NoMethodError => ex
  return false
end