### Question:
BaseConfiguration { public void build() throws AxisFault { iOBufferSize = conf.getIOBufferSize(); if (workerPool == null) { workerPool = WorkerPoolFactory.getWorkerPool( conf.getWorkerPoolCoreSize(), conf.getWorkerPoolMaxSize(), conf.getWorkerThreadKeepaliveSec(), conf.getWorkerPoolQueueLen(), PASSTHROUGH_THREAD_GROUP, PASSTHROUGH_THREAD_ID); } httpParams = buildHttpParams(); ioReactorConfig = buildIOReactorConfig(); String sysCorrelationStatus = System.getProperty(PassThroughConstants.CORRELATION_LOGS_SYS_PROPERTY); if (sysCorrelationStatus != null) { correlationLoggingEnabled = sysCorrelationStatus.equalsIgnoreCase("true"); } bufferFactory = new BufferFactory(iOBufferSize, new HeapByteBufferAllocator(), 512); } 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 testBuild() throws Exception { Assert.assertNotNull("Building base configuration isn't successful.", baseConfiguration); Assert.assertNotNull("Worker pool hasn't been initialized.", baseConfiguration.getWorkerPool()); Assert.assertNotSame("Worker thread count hasn't been taken from passthru-http.properties file", conf.getWorkerPoolCoreSize(), DEFAULT_WORKER_POOL_SIZE_CORE); }