### Question:
MicroServiceConfigurationResource extends MicroServiceResource implements MicroServiceConfigurationAPI { @Override public ServiceConfiguration getServiceConfiguration() { Context context = getMicroServiceApplication().getMicroServiceContext(); LoggerConfig loggerConfig = getLoggerConfig(context); List<ResourceConfig> inputQueues = getResourceConfigs(context.getQueuesManager().getManagedResources()); List<ResourceConfig> datasources = getResourceConfigs(context.getDatasourceManager().getManagedResources()); List<ResourceConfig> destinations = getResourceConfigs(context.getDestinationManager().getManagedResources()); List<ResourceConfig> blobStores = getResourceConfigs(context.getBlobStoreManager().getManagedResources()); List<ResourceConfig> serviceDependencies = getDependencyConfigs(context.getDependencyManager().getManagedResources()); List<ResourceConfig> externalResources = new ArrayList<>(); for (ResourceManager currExternalResourceManager : context.getExternalResourceManagers()) { externalResources.addAll(getResourceConfigs(currExternalResourceManager.getManagedResources())); } List<ParamConfig> paramsConfig = getParamConfigs(context); return new ServiceConfiguration( context.getMicroServiceName(), context.getServiceDescription(), context.getMicroServiceBaseURI(), loggerConfig, inputQueues, datasources, destinations, blobStores, serviceDependencies, externalResources, paramsConfig ); }  @Override ServiceConfiguration getServiceConfiguration(); @Override Response setLogLevel();  }### Answer:
@Test @SuppressWarnings("unchecked") public void getServiceConfiguration() throws URISyntaxException, IOException { final MockHttpResponse response = get(MicroServiceConfigurationAPI.BASE_URI, MediaType.APPLICATION_JSON_TYPE); assertEquals(HttpStatus.SC_OK, response.getStatus()); final Map<String, ?> json = json(response); assertEquals("Mock Micro Service", json.get("name")); assertEquals(VERSION_NOT_AVAILABLE, json.get("version")); final List<Map<String, ?>> parameters = (List<Map<String, ?>>) json.get("parameters"); assertEquals("Expected 2 parameters, boo-timeout and health-check-period-in-seconds", 3, parameters.size()); }