'If the save path for a L{KnownHostsFile} does not exist,
L{KnownHostsFile.iterentries} still returns added but unsaved entries.'

def test_iterentriesUnsaved(self):

    hostsFile = KnownHostsFile(FilePath(self.mktemp()))
    hostsFile.addHostKey('www.example.com', Key.fromString(sampleKey))
    self.assertEqual(1, len(list(hostsFile.iterentries())))
