'getPublicKey() should return None.  getPrivateKey() should return a
failed Deferred.  getPassword() should return a failed Deferred.
getGenericAnswers() should return a failed Deferred.'

def test_defaults(self):

    authClient = userauth.SSHUserAuthClient('foo', FakeTransport.Service())
    self.assertIsNone(authClient.getPublicKey())
    def check(result):
        result.trap(NotImplementedError)
        d = authClient.getPassword()
        return d.addCallback(self.fail).addErrback(check2)
    def check2(result):
        result.trap(NotImplementedError)
        d = authClient.getGenericAnswers(None, None, None)
        return d.addCallback(self.fail).addErrback(check3)
    def check3(result):
        result.trap(NotImplementedError)
    d = authClient.getPrivateKey()
    return d.addCallback(self.fail).addErrback(check)
