'Verifying a key where neither the hostname nor the IP are present
should result in the UI being prompted with a message explaining as
much.  If the UI says yes, the Deferred should fire with True.'

def test_verifyNonPresentKey_Yes(self):

    (ui, l, knownHostsFile) = self.verifyNonPresentKey()
    ui.promptDeferred.callback(True)
    self.assertEqual([True], l)
    reloaded = KnownHostsFile.fromPath(knownHostsFile.savePath)
    self.assertEqual(True, reloaded.hasHostKey('4.3.2.1', Key.fromString(thirdSampleKey)))
    self.assertEqual(True, reloaded.hasHostKey('sample-host.example.com', Key.fromString(thirdSampleKey)))
