@Test public void withContextWithoutForwardSlash() { final EmbedVaadinComponent embed = EmbedVaadin.forComponent(component).withContextPath("foo"); assertEquals("forward slash was not added to context as expected", "/foo", embed.build().getConfig().getContextPath()); }
public static EmbedVaadinComponent forComponent(Component component) { return new EmbedVaadinComponent(component); }
EmbedVaadin { public static EmbedVaadinComponent forComponent(Component component) { return new EmbedVaadinComponent(component); } }
EmbedVaadin { public static EmbedVaadinComponent forComponent(Component component) { return new EmbedVaadinComponent(component); } private  EmbedVaadin(); }
EmbedVaadin { public static EmbedVaadinComponent forComponent(Component component) { return new EmbedVaadinComponent(component); } private  EmbedVaadin(); static EmbedVaadinComponent forComponent(Component component); static EmbedVaadinApplication forUI(Class<? extends UI> uiClass); }
EmbedVaadin { public static EmbedVaadinComponent forComponent(Component component) { return new EmbedVaadinComponent(component); } private  EmbedVaadin(); static EmbedVaadinComponent forComponent(Component component); static EmbedVaadinApplication forUI(Class<? extends UI> uiClass);  }