### Question:
BaseConfiguration { protected HttpParams buildHttpParams() { HttpParams params = new BasicHttpParams(); params. setIntParameter(HttpConnectionParams.SO_TIMEOUT, getSocketTimeout()). setIntParameter(HttpConnectionParams.CONNECTION_TIMEOUT, getConnectionTimeout()). setIntParameter(HttpConnectionParams.SOCKET_BUFFER_SIZE, conf.getIntProperty(HttpConnectionParams.SOCKET_BUFFER_SIZE, 8 * 1024)). setParameter(HttpProtocolParams.ORIGIN_SERVER, conf.getStringProperty(HttpProtocolParams.ORIGIN_SERVER, "WSO2-PassThrough-HTTP")). setParameter(HttpProtocolParams.USER_AGENT, conf.getStringProperty(HttpProtocolParams.USER_AGENT, "Synapse-PT-HttpComponents-NIO")); return params; } BaseConfiguration(ConfigurationContext configurationContext,
                             ParameterInclude parameters,
                             WorkerPool workerPool,
                             PassThroughTransportMetricsCollector metrics); void build(); WorkerPool getWorkerPool(int workerPoolCoreSize, int workerPoolMaxSize,
                                    int workerThreadKeepaliveSec, int workerPoolQueuLen,
                                    String threadGroupName, String threadgroupID); int getIOBufferSize(); WorkerPool getWorkerPool(); ConfigurationContext getConfigurationContext(); BufferFactory getBufferFactory(); PassThroughTransportMetricsCollector getMetrics(); Boolean isCorrelationLoggingEnabled(); boolean isPreserveHttpHeader(String headerName); List<String> getPreserveHttpHeaders();  }### Answer:
@Test public void testBuildHttpParams() throws Exception { HttpParams httpParams = baseConfiguration.buildHttpParams(); Assert.assertNotNull("HTTP Parameters hasn't been initialized.", httpParams); String originServer = (String) httpParams.getParameter(HttpProtocolParams.ORIGIN_SERVER); Assert.assertEquals("Origin Server isn't correct.", "WSO2-PassThrough-HTTP", originServer); }