use of com.vaadin.flow.server.VaadinSession in project flow by vaadin.
the class ElementTest method createUI.
@SuppressWarnings("serial")
private UI createUI() {
VaadinSession session = new VaadinSession(EasyMock.createMock(VaadinService.class)) {
@Override
public boolean hasLock() {
return true;
}
};
UI ui = new UI() {
@Override
public VaadinSession getSession() {
return session;
}
};
return ui;
}
Aggregations