@Test public void shouldUseSystemPropertiesForNotifyChanges() { PowerMockito.mockStatic(SystemProperties.class); LDAPConfig config = new LDAPConfig(""); config.update(); PowerMockito.verifyStatic(); SystemProperties.get(anyString()); }
public void update() { tokenStoreRootSuffix.set(SystemProperties.get(Constants.CTS_ROOT_SUFFIX)); }
LDAPConfig { public void update() { tokenStoreRootSuffix.set(SystemProperties.get(Constants.CTS_ROOT_SUFFIX)); } }
LDAPConfig { public void update() { tokenStoreRootSuffix.set(SystemProperties.get(Constants.CTS_ROOT_SUFFIX)); } @Inject  LDAPConfig(String rootSuffix); }
LDAPConfig { public void update() { tokenStoreRootSuffix.set(SystemProperties.get(Constants.CTS_ROOT_SUFFIX)); } @Inject  LDAPConfig(String rootSuffix); DN getTokenStoreRootSuffix(); boolean hasChanged(); void update(); }
LDAPConfig { public void update() { tokenStoreRootSuffix.set(SystemProperties.get(Constants.CTS_ROOT_SUFFIX)); } @Inject  LDAPConfig(String rootSuffix); DN getTokenStoreRootSuffix(); boolean hasChanged(); void update();  }