### Question:
HttpUtils { static int getSocketTimeout(final ClientConfiguration config) { if (config != null) { return config.getSocketTimeout(); } return ClientConfiguration.DEFAULT_SOCKET_TIMEOUT; }  static String urlEncode(final String value, final boolean path); static String urlDecode(final String value); static boolean isUsingNonDefaultPort(URI uri); static boolean usePayloadForQueryParameters(Request<?> request); static String encodeParameters(Request<?> request); static String appendUri(String baseUri, String path); static String appendUri(final String baseUri, String path,
            final boolean escapeDoubleSlash); static InputStream fetchFile(
            final URI uri,
            final ClientConfiguration config);  }### Answer:
@Test public void testGetSocketTimeout() { assertEquals(HttpUtils.getSocketTimeout(null), ClientConfiguration.DEFAULT_SOCKET_TIMEOUT); final ClientConfiguration conf = new ClientConfiguration(); conf.setSocketTimeout(10); assertEquals(HttpUtils.getSocketTimeout(conf), 10); }