@Test public void getServerConfiguration_success() { ServerConfiguration result = service.getServerConfiguration(issuer); assertThat(mockServerConfig, is(notNullValue())); assertEquals(mockServerConfig, result); }
@Override public ServerConfiguration getServerConfiguration(String issuer) { return servers.get(issuer); }
StaticServerConfigurationService implements ServerConfigurationService { @Override public ServerConfiguration getServerConfiguration(String issuer) { return servers.get(issuer); } }
StaticServerConfigurationService implements ServerConfigurationService { @Override public ServerConfiguration getServerConfiguration(String issuer) { return servers.get(issuer); }  }
StaticServerConfigurationService implements ServerConfigurationService { @Override public ServerConfiguration getServerConfiguration(String issuer) { return servers.get(issuer); }  Map<String, ServerConfiguration> getServers(); void setServers(Map<String, ServerConfiguration> servers); @Override ServerConfiguration getServerConfiguration(String issuer); @PostConstruct void afterPropertiesSet(); }
StaticServerConfigurationService implements ServerConfigurationService { @Override public ServerConfiguration getServerConfiguration(String issuer) { return servers.get(issuer); }  Map<String, ServerConfiguration> getServers(); void setServers(Map<String, ServerConfiguration> servers); @Override ServerConfiguration getServerConfiguration(String issuer); @PostConstruct void afterPropertiesSet();  }