use of com.vaadin.tests.util.AlwaysLockedVaadinSession in project flow by vaadin.
the class ElementTest method createUI.
@SuppressWarnings("serial")
private UI createUI() {
VaadinSession session = new AlwaysLockedVaadinSession(new MockVaadinServletService());
UI ui = new UI() {
@Override
public VaadinSession getSession() {
return session;
}
};
return ui;
}
Aggregations