### Question:
DataSourceRule { public Collection<DataSource> getDataSources() { return dataSourceMap.values(); } DataSourceRule(final Map<String, DataSource> dataSourceMap);  DataSourceRule(final Map<String, DataSource> dataSourceMap, final String defaultDataSourceName); DataSource getDataSource(final String name); Optional<DataSource> getDefaultDataSource(); Collection<String> getDataSourceNames(); Collection<DataSource> getDataSources();  }### Answer:
@Test public void assertGetDataSources() { assertThat(dataSourceRule.getDataSources(), is(dataSourceMap.values())); }