'Test starting authentication with an initial response.'

def test_sendAuthInitialResponse(self):

    self.init.initialResponse = 'dummy'
    self.init.start()
    auth = self.output[0]
    self.assertEqual(NS_XMPP_SASL, auth.uri)
    self.assertEqual(u'auth', auth.name)
    self.assertEqual(u'DUMMY', auth['mechanism'])
    self.assertEqual(u'ZHVtbXk=', unicode(auth))
