### Question:
DataSourceRule { public Optional<DataSource> getDefaultDataSource() { return Optional.fromNullable(dataSourceMap.get(defaultDataSourceName)); } 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 assertGetDefaultDataSourceWhenNotSet() { assertFalse(dataSourceRule.getDefaultDataSource().isPresent()); }