ui.setSession(session);
}
private void setupAttachListeners() {
attachListener.attach(eventEquals(new AttachEvent(ui)));
attachListener.attach(eventEquals(new AttachEvent(content)));
attachListener.attach(eventEquals(new AttachEvent(component)));
control.replay();
ui.addAttachListener(attachListener);
content.addAttachListener(attachListener);