'Test using an unacceptable SASL authentication mechanism.'

def test_notAcceptable(self):

    self.authenticator.jid = jid.JID('test@example.com')
    self.authenticator.password = u'secret'
    self.assertRaises(sasl.SASLNoAcceptableMechanism, self._setMechanism, u'SOMETHING_UNACCEPTABLE')
