### Question:
DataSourceInformationRepository { public void configure(Properties configurationProperties) { if (listener != null) { listener.reConfigure(configurationProperties); } secretResolver = SecretResolverFactory.create(configurationProperties, DataSourceConstants.PROP_SYNAPSE_PREFIX_DS); }  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 testConfigure() throws IllegalAccessException { repository.configure(properties); Assert.assertNotNull("secretResolver should be instantiated", secretResolver.get(repository)); }