def METHOD_NAME(self):
    pkg = tests.support.MockPackage("humbert-1-1.noarch")
    pkg.url = url = "http://humbert.com"
    pkg.summary = summary = "Glimpses of an incomparably more poignant bliss."
    counter = dnf.match_counter.MatchCounter()
    counter.add(pkg, 'summary', 'poignant')
    counter.add(pkg, 'url', 'humbert')
    counter.add(pkg, 'summary', 'humbert')
    self.assertCountEqual(counter.matched_needles(pkg),
                          ['humbert', 'poignant'])
    self.assertCountEqual(counter.matched_keys(pkg), ['url', 'summary'])
    self.assertCountEqual(counter.matched_haystacks(pkg), [url, summary])