@Test public void preservesAbsenceOfSslOnConversionToNamespacedServerListIfAbsent() { ImmutableServerListConfig serversListWithoutSsl = ImmutableServerListConfig.copyOf(SERVERS_LIST) .withSslConfiguration(Optional.empty()); TimeLockClientConfig config = ImmutableTimeLockClientConfig.copyOf(CLIENT_CONFIG) .withServersList(serversListWithoutSsl); assertThat(config.toNamespacedServerList().sslConfiguration(), equalTo(Optional.empty())); }
public ServerListConfig toNamespacedServerList() { return ServerListConfigs.namespaceUris(serversList(), getClientOrThrow()); }
TimeLockClientConfig { public ServerListConfig toNamespacedServerList() { return ServerListConfigs.namespaceUris(serversList(), getClientOrThrow()); } }
TimeLockClientConfig { public ServerListConfig toNamespacedServerList() { return ServerListConfigs.namespaceUris(serversList(), getClientOrThrow()); }  }
TimeLockClientConfig { public ServerListConfig toNamespacedServerList() { return ServerListConfigs.namespaceUris(serversList(), getClientOrThrow()); }  @Deprecated abstract Optional<String> client(); @JsonIgnore @Value.Lazy String getClientOrThrow(); @Deprecated @Value.Default ServerListConfig serversList(); ServerListConfig toNamespacedServerList(); }
TimeLockClientConfig { public ServerListConfig toNamespacedServerList() { return ServerListConfigs.namespaceUris(serversList(), getClientOrThrow()); }  @Deprecated abstract Optional<String> client(); @JsonIgnore @Value.Lazy String getClientOrThrow(); @Deprecated @Value.Default ServerListConfig serversList(); ServerListConfig toNamespacedServerList();  }