'Test that the client succeeds properly.'

def test_USERAUTH_SUCCESS(self):

    instance = [None]
    def stubSetService(service):
        instance[0] = service
    self.authClient.transport.setService = stubSetService
    self.authClient.ssh_USERAUTH_SUCCESS('')
    self.assertEqual(instance[0], self.authClient.instance)
