protected AuthorizationResultEvent authEvent;
@Before
public void beforeTests() {
connection = new XmppConnectionTester();
manager = new SASLManager(new SimpleEventBus(), connection);
authEvent = null;
manager.addAuthorizationResultHandler(new AuthorizationResultEvent.Handler() {
@Override
public void onAuthorizationResult(final AuthorizationResultEvent event) {