### Question:
DataSourceInformationRepository { public DataSourceInformation getDataSourceInformation(String name) { if (name == null || "".equals(name)) { throw new SynapseCommonsException("Name of the datasource information instance to be " + "returned is null", log); } return dataSourceInformationMap.get(name); }  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 testGetDataSourceInformationNull() { thrown.expect(SynapseCommonsException.class); thrown.expectMessage("Name of the datasource information instance to be returned is null"); repository.getDataSourceInformation(null); }