### Question:
SourceConfiguration extends BaseConfiguration { public HttpParams getHttpParams() { return httpParams; } SourceConfiguration(ConfigurationContext configurationContext,
                               TransportInDescription description,
                               Scheme scheme,
                               WorkerPool pool,
                               PassThroughTransportMetricsCollector metrics);  SourceConfiguration(WorkerPool pool,PassThroughTransportMetricsCollector metrics); void build(); HttpParams getHttpParams(); IOReactorConfig getIOReactorConfig(); HttpProcessor getHttpProcessor(); HttpResponseFactory getResponseFactory(); String getHostname(); int getPort(); SourceConnections getSourceConnections(); TransportInDescription getInDescription(); Scheme getScheme(); String getServiceEPRPrefix(); String getCustomEPRPrefix(); HttpGetRequestProcessor getHttpGetRequestProcessor(); boolean getBooleanValue(String name, boolean def);  }### Answer:
@Test public void testGetHttpParams() throws Exception { HttpParams httpParams = sourceConfiguration.getHttpParams(); Assert.assertNotNull("HTTP Parameters are null.", httpParams); String originServer = (String) httpParams.getParameter(HttpProtocolParams.ORIGIN_SERVER); Assert.assertEquals("Origin Server isn't correct.", "WSO2-PassThrough-HTTP", originServer); }