@Test public void throwsWhenReadingClientWithoutClientSpecified() { TimeLockClientConfig config = ImmutableTimeLockClientConfig.builder() .serversList(SERVERS_LIST) .build(); assertThatThrownBy(config::getClientOrThrow).isInstanceOf(IllegalStateException.class); }
@Deprecated @Value.Default public ServerListConfig serversList() { return ImmutableServerListConfig.builder().build(); }
TimeLockClientConfig { @Deprecated @Value.Default public ServerListConfig serversList() { return ImmutableServerListConfig.builder().build(); } }
TimeLockClientConfig { @Deprecated @Value.Default public ServerListConfig serversList() { return ImmutableServerListConfig.builder().build(); }  }
TimeLockClientConfig { @Deprecated @Value.Default public ServerListConfig serversList() { return ImmutableServerListConfig.builder().build(); }  @Deprecated abstract Optional<String> client(); @JsonIgnore @Value.Lazy String getClientOrThrow(); @Deprecated @Value.Default ServerListConfig serversList(); ServerListConfig toNamespacedServerList(); }
TimeLockClientConfig { @Deprecated @Value.Default public ServerListConfig serversList() { return ImmutableServerListConfig.builder().build(); }  @Deprecated abstract Optional<String> client(); @JsonIgnore @Value.Lazy String getClientOrThrow(); @Deprecated @Value.Default ServerListConfig serversList(); ServerListConfig toNamespacedServerList();  }