### Question:
SourceConfiguration extends BaseConfiguration { public Scheme getScheme() { return scheme; } 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 testGetScheme() throws Exception { Scheme scheme = sourceConfiguration.getScheme(); String expectedSchemeName = transportInDescription.getName(); Assert.assertNotNull("ResponseFactory hasn't been initialized.", scheme); Assert.assertEquals("Scheme doesn't match with : " + expectedSchemeName, expectedSchemeName, scheme.getName()); }