### Question:
DataSourceInformationRepository { public Iterator<DataSourceInformation> getAllDataSourceInformation() { return dataSourceInformationMap.values().iterator(); }  void configure(Properties configurationProperties); void addDataSourceInformation(DataSourceInformation dataSourceInformation); DataSourceInformation getDataSourceInformation(String name); DataSourceInformation removeDataSourceInformation(String name); Iterator<DataSourceInformation> getAllDataSourceInformation(); void setRepositoryListener(DataSourceInformationRepositoryListener listener); void removeRepositoryListener(); DataSourceInformationRepositoryListener getRepositoryListener();  }### Answer:
@Test public void testGetAllDataSourceInformation() throws IllegalAccessException { Assert.assertNotNull("non empty iterator should be returned", repository.getAllDataSourceInformation()); }