### Question:
SourceConfiguration extends BaseConfiguration { public IOReactorConfig getIOReactorConfig() { return ioReactorConfig; } 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 testGetIOReactorConfig() throws Exception { IOReactorConfig config = sourceConfiguration.getIOReactorConfig(); int expectedIOThreadCount = Runtime.getRuntime().availableProcessors(); Assert.assertNotNull("I/O Reactor hasn't been initialized.", config); Assert.assertEquals("I/O reactor thread count isn't correct.", expectedIOThreadCount, config.getIoThreadCount()); }