@Test public void stickySessionEnabledWhenYamlStickySessionEnabledIsTrue() { YamlApplicationsProvider config = loadFromPath("classpath:conf/origins/origins-for-configtest.yml"); BackendService app = applicationFor(config, "webapp"); assertThat(app.stickySessionConfig().stickySessionEnabled(), CoreMatchers.is(true)); }
public static YamlApplicationsProvider loadFromPath(String path) { return new YamlApplicationsProvider(newResource(path)); }
YamlApplicationsProvider { public static YamlApplicationsProvider loadFromPath(String path) { return new YamlApplicationsProvider(newResource(path)); } }
YamlApplicationsProvider { public static YamlApplicationsProvider loadFromPath(String path) { return new YamlApplicationsProvider(newResource(path)); } private  YamlApplicationsProvider(String yamlText);  YamlApplicationsProvider(Resource resource); }
YamlApplicationsProvider { public static YamlApplicationsProvider loadFromPath(String path) { return new YamlApplicationsProvider(newResource(path)); } private  YamlApplicationsProvider(String yamlText);  YamlApplicationsProvider(Resource resource); static YamlApplicationsProvider loadFromPath(String path); static YamlApplicationsProvider loadFromText(String yamlText); static BackendServices loadApplicationsFrom(String path); BackendServices get(); }
YamlApplicationsProvider { public static YamlApplicationsProvider loadFromPath(String path) { return new YamlApplicationsProvider(newResource(path)); } private  YamlApplicationsProvider(String yamlText);  YamlApplicationsProvider(Resource resource); static YamlApplicationsProvider loadFromPath(String path); static YamlApplicationsProvider loadFromText(String yamlText); static BackendServices loadApplicationsFrom(String path); BackendServices get();  }