'Loading a L{KnownHostsFile} from a path containing a single valid
L{HashedEntry} entry will result in a L{KnownHostsFile} object
with one L{IKnownHostEntry} provider.'

def test_verifyHashedEntry(self):

    hostsFile = self.loadSampleHostsFile(sampleHashedLine)
    entries = list(hostsFile.iterentries())
    self.assertIsInstance(entries[0], HashedEntry)
    self.assertTrue(entries[0].matchesHost('www.twistedmatrix.com'))
    self.assertEqual(1, len(entries))
