EmbedComponentConfig extends EmbedVaadinConfig { public static EmbedComponentConfig defaultConfig() { return new EmbedComponentConfig(new Properties()); } protected  EmbedComponentConfig(Properties properties); protected  EmbedComponentConfig(EmbedComponentConfig clone); String getTheme(); boolean isDevelopmentHeader(); static EmbedComponentConfig defaultConfig(); static final String KEY_THEME; static final String DEFAULT_THEME; static final String KEY_DEVELOPMENT_HEADER; static final boolean DEFAULT_DEVELOPMENT_HEADER; }
@Test public void createDefaultInstance() { final EmbedComponentConfig config = EmbedComponentConfig.defaultConfig(); assertServerConfig(config, EmbedVaadinConfig.DEFAULT_PORT, EmbedVaadinConfig.DEFAULT_CONTEXT_PATH, EmbedVaadinConfig.DEFAULT_WAITING); assertComponentConfig(config, EmbedComponentConfig.DEFAULT_THEME, EmbedComponentConfig.DEFAULT_DEVELOPMENT_HEADER); assertVaadinConfig(config, null, EmbedComponentConfig.DEFAULT_PRODUCTION_MODE); assertBrowserConfig(config, EmbedVaadinConfig.DEFAULT_OPEN_BROWSER, null); }