verify(bindingManager).bindResource(anyString());
}
@Test
public void shouldLoginWhenSessionCreated() {
final SessionStateChangedTestHandler handler = new SessionStateChangedTestHandler();
session.addSessionStatusChangedHandler(false, handler);
eventBus.fireEvent(new SessionRequestResultEvent(uri("me@domain")));
assertSame(SessionStatus.loggedIn, handler.getLastSessionStatus());
}