assertEquals(0, AuthorizationRetriesCounter.getFromSession(sessionContext).getTriesLeft());
}
private Stanza executeWrongPlainAuthorization() throws AuthorizationFailedException {
StanzaBuilder stanzaBuilder = createAuthPlain();
stanzaBuilder.addText(new String(Base64.encodeBase64("dummy\0user008\0pass007".getBytes())));
Stanza authPlainStanza = stanzaBuilder.build();
AuthHandler authHandler = new AuthHandler();
ResponseStanzaContainer responseContainer = authHandler.execute(authPlainStanza, sessionContext