### Question:
BBInputSetupMapperLayer { protected OrchestrationContext mapOrchestrationContext(RequestDetails requestDetails) { OrchestrationContext context = new OrchestrationContext(); if (requestDetails.getRequestInfo() != null) { context.setIsRollbackEnabled(!(requestDetails.getRequestInfo().getSuppressRollback())); } else { context.setIsRollbackEnabled(false); } return context; }  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 testMapOrchestrationContext() throws IOException { OrchestrationContext expected = new OrchestrationContext(); expected.setIsRollbackEnabled(true); RequestDetails requestDetails = mapper .readValue(new File(RESOURCE_PATH + "RequestDetailsInput_mapReqContext.json"), RequestDetails.class); OrchestrationContext actual = bbInputSetupMapperLayer.mapOrchestrationContext(requestDetails); assertThat(actual, sameBeanAs(expected)); }
@Test public void testMapOrchestrationContextNoRequestInfo() throws IOException { OrchestrationContext expected = new OrchestrationContext(); expected.setIsRollbackEnabled(false); RequestDetails requestDetails = mapper.readValue( new File(RESOURCE_PATH + "RequestDetailsInput_mapReqContextNoRequestInfo.json"), RequestDetails.class); OrchestrationContext actual = bbInputSetupMapperLayer.mapOrchestrationContext(requestDetails); assertThat(actual, sameBeanAs(expected)); }