### Question:
Config { int getMaxConnections() { return maxTotal; } Config(); Config httpClient(HttpClient httpClient); Config httpClient(Client httpClient); Config httpClient(Function<Config, Client> httpClient); Config asyncClient(HttpAsyncClient value); Config asyncClient(AsyncClient value); Config asyncClient(Function<Config, AsyncClient> asyncClientBuilder); Config proxy(HttpHost value); Config proxy(String host, int port); Config proxy(String host, int port, String username, String password); Config setObjectMapper(ObjectMapper om); Config connectTimeout(int inMillies); Config socketTimeout(int inMillies); Config concurrency(int total, int perRoute); Config clearDefaultHeaders(); Config setDefaultHeader(String name, String value); Config setDefaultHeader(String name, Supplier<String> value); Config addDefaultHeader(String name, String value); Config addInterceptor(HttpRequestInterceptor interceptor); Config followRedirects(boolean enable); Config enableCookieManagement(boolean enable); Config useSystemProperties(boolean value); Config setDefaultResponseEncoding(String value); Headers getDefaultHeaders(); boolean isRunning(); Config reset(); void shutDown(boolean clearOptions); Client getClient(); AsyncClient getAsyncClient(); static final int DEFAULT_CONNECTION_TIMEOUT; static final int DEFAULT_MAX_CONNECTIONS; static final int DEFAULT_MAX_PER_ROUTE; static final int DEFAULT_CONNECT_TIMEOUT; static final int DEFAULT_SOCKET_TIMEOUT; }### Answer:
@Test public void shouldKeepMaxTotalDefault(){ assertEquals(Config.DEFAULT_MAX_CONNECTIONS, config.getMaxConnections()); }