@Test public void shouldCallBothConfigurations() { listener.notifyChanges(); verify(mockLDAPConfig).update(); verify(mockExternalConfig).update(); }
public void notifyChanges() { ldapConfig.update(); externalTokenConfig.update(); connectionFactory.updateConnection(); }
CoreTokenConfigListener implements ConfigurationListener { public void notifyChanges() { ldapConfig.update(); externalTokenConfig.update(); connectionFactory.updateConnection(); } }
CoreTokenConfigListener implements ConfigurationListener { public void notifyChanges() { ldapConfig.update(); externalTokenConfig.update(); connectionFactory.updateConnection(); } @Inject  CoreTokenConfigListener(LDAPConfig ldapConfig, ExternalTokenConfig externalTokenConfig,
                                   CTSConnectionFactory connectionFactory); }
CoreTokenConfigListener implements ConfigurationListener { public void notifyChanges() { ldapConfig.update(); externalTokenConfig.update(); connectionFactory.updateConnection(); } @Inject  CoreTokenConfigListener(LDAPConfig ldapConfig, ExternalTokenConfig externalTokenConfig,
                                   CTSConnectionFactory connectionFactory); void notifyChanges(); }
CoreTokenConfigListener implements ConfigurationListener { public void notifyChanges() { ldapConfig.update(); externalTokenConfig.update(); connectionFactory.updateConnection(); } @Inject  CoreTokenConfigListener(LDAPConfig ldapConfig, ExternalTokenConfig externalTokenConfig,
                                   CTSConnectionFactory connectionFactory); void notifyChanges();  }