### Question:
SphereClientConfig extends Base implements SphereAuthConfig, SphereApiConfig { public SphereClientConfig withAuthUrl(final String authUrl) { return new SphereClientConfig(getProjectKey(), getClientId(), getClientSecret(), authUrl, getApiUrl(), getScopes(), getCorrelationIdGenerator()); } SphereClientConfig(final String projectKey, final String clientId, final String clientSecret, final String authUrl, final String apiUrl, final List<String> scopes, final CorrelationIdGenerator correlationIdGenerator); static SphereClientConfig of(final String projectKey, final String clientId, final String clientSecret); static SphereClientConfig of(final String projectKey, final String clientId, final String clientSecret, final String authUrl, final String apiUrl); @Override String getApiUrl(); @Override String getAuthUrl(); @Override String getClientId(); @Override String getClientSecret(); @Override String getProjectKey(); @Override List<String> getScopes(); @Override List<String> getRawScopes(); SphereClientConfig withApiUrl(final String apiUrl); SphereClientConfig withAuthUrl(final String authUrl); static SphereClientConfig ofEnvironmentVariables(final String prefix); static SphereClientConfig ofProperties(final Properties properties, final String prefix); static final String ENVIRONMENT_VARIABLE_API_URL_SUFFIX; static final String ENVIRONMENT_VARIABLE_AUTH_URL_SUFFIX; static final String ENVIRONMENT_VARIABLE_PROJECT_KEY_SUFFIX; static final String ENVIRONMENT_VARIABLE_CLIENT_ID_SUFFIX; static final String ENVIRONMENT_VARIABLE_CLIENT_SECRET_SUFFIX; static final String ENVIRONMENT_VARIABLE_SCOPES_SUFFIX; static final String PROPERTIES_KEY_API_URL_SUFFIX; static final String PROPERTIES_KEY_AUTH_URL_SUFFIX; static final String PROPERTIES_KEY_PROJECT_KEY_SUFFIX; static final String PROPERTIES_KEY_CLIENT_ID_SUFFIX; static final String PROPERTIES_KEY_CLIENT_SECRET_SUFFIX; static final String PROPERTIES_KEY_SCOPES_SUFFIX; }### Answer:
@Test public void withAuthUrl() throws Exception { final SphereClientConfig initial = SphereClientConfig.of("a", "b", "b"); assertThat(initial.getAuthUrl()).isEqualTo("https: final SphereClientConfig updated = initial.withAuthUrl("another"); assertThat(updated.getAuthUrl()).isEqualTo("another"); }