### Question:
BBInputSetupMapperLayer { protected Map<String, Object> mapNameValueUserParams( org.onap.so.serviceinstancebeans.RequestParameters requestParameters) { Map<String, Object> userParamsResult = new HashMap<String, Object>(); if (requestParameters.getUserParams() != null) { List<Map<String, Object>> userParams = requestParameters.getUserParams(); for (Map<String, Object> userParamsMap : userParams) { if (userParamsMap.containsKey(USER_PARAM_NAME_KEY) && (userParamsMap.get(USER_PARAM_NAME_KEY) instanceof String) && userParamsMap.containsKey(USER_PARAM_VALUE_KEY)) { userParamsResult.put((String) userParamsMap.get(USER_PARAM_NAME_KEY), userParamsMap.get(USER_PARAM_VALUE_KEY)); } } } return userParamsResult; }  Customer mapAAICustomer(org.onap.aai.domain.yang.Customer customerAAI); ServiceSubscription mapAAIServiceSubscription(
            org.onap.aai.domain.yang.ServiceSubscription serviceSubscriptionAAI); NetworkPolicy mapAAINetworkPolicy(org.onap.aai.domain.yang.NetworkPolicy aaiNetworkPolicy); ModelInfoServiceInstance mapCatalogServiceIntoServiceInstance(Service service); ServiceInstance mapAAIServiceInstanceIntoServiceInstance(
            org.onap.aai.domain.yang.ServiceInstance aaiServiceInstance); OrchestrationStatus mapOrchestrationStatusFromAAI(String orchestrationStatus); RequestContext mapRequestContext(RequestDetails requestDetails); RouteTableReference mapAAIRouteTableReferenceIntoRouteTableReference(
            org.onap.aai.domain.yang.RouteTableReference aaiRouteTableReference); Configuration mapAAIConfiguration(org.onap.aai.domain.yang.Configuration configurationAAI); NetworkResourceCustomization mapCollectionNetworkResourceCustToNetworkResourceCust(
            CollectionNetworkResourceCustomization collectionNetworkResourceCust); Vnfc mapAAIVnfc(org.onap.aai.domain.yang.Vnfc vnfcAAI); VpnBinding mapAAIVpnBinding(org.onap.aai.domain.yang.VpnBinding aaiVpnBinding); RouteTarget mapAAIRouteTarget(org.onap.aai.domain.yang.RouteTarget aaiRouteTarget);  }### Answer:
@Test public void testMapNameValueUserParams() throws IOException { RequestDetails requestDetails = mapper .readValue(new File(RESOURCE_PATH + "RequestDetailsInput_mapReqContext.json"), RequestDetails.class); Map<String, Object> actual = bbInputSetupMapperLayer.mapNameValueUserParams(requestDetails.getRequestParameters()); assertTrue(actual.containsKey("mns_vfw_protected_route_prefixes")); assertTrue(actual.get("mns_vfw_protected_route_prefixes").toString() .contains("interface_route_table_routes_route")); assertTrue(actual.get("mns_vfw_protected_route_prefixes").toString().contains("1.1.1.1/32")); assertTrue(actual.get("mns_vfw_protected_route_prefixes").toString().contains("0::1/128")); assertTrue(actual.containsKey("name1")); assertTrue(actual.containsValue("value1")); assertTrue(actual.get("name1").equals("value1")); assertFalse(actual.containsKey("ignore")); assertFalse(actual.containsValue("ignore")); }