@Test public void customConfig() { EbeanParsedConfig config = parse(ImmutableMap.of( "play.ebean.config", "my.custom", "my.custom.default", Collections.singletonList("a") )); assertThat(config.getDatasourceModels().size(), equalTo(1)); assertThat(config.getDatasourceModels().get("default"), hasItems("a")); }
public Map<String, List<String>> getDatasourceModels() { return datasourceModels; }
EbeanParsedConfig { public Map<String, List<String>> getDatasourceModels() { return datasourceModels; } }
EbeanParsedConfig { public Map<String, List<String>> getDatasourceModels() { return datasourceModels; } EbeanParsedConfig(String defaultDatasource, Map<String, List<String>> datasourceModels); }
EbeanParsedConfig { public Map<String, List<String>> getDatasourceModels() { return datasourceModels; } EbeanParsedConfig(String defaultDatasource, Map<String, List<String>> datasourceModels); String getDefaultDatasource(); Map<String, List<String>> getDatasourceModels(); static EbeanParsedConfig parseFromConfig(Config config); }
EbeanParsedConfig { public Map<String, List<String>> getDatasourceModels() { return datasourceModels; } EbeanParsedConfig(String defaultDatasource, Map<String, List<String>> datasourceModels); String getDefaultDatasource(); Map<String, List<String>> getDatasourceModels(); static EbeanParsedConfig parseFromConfig(Config config);  }