### Question:
InfraActiveRequestsRepositoryCustomController { @PostMapping(value = "/infraActiveRequests/getCloudOrchestrationFiltersFromInfraActive") public List<InfraActiveRequests> getCloudOrchestrationFiltersFromInfraActive( @RequestBody Map<String, String> orchestrationMap) { return infraActiveRequestsRepository.getCloudOrchestrationFiltersFromInfraActive(orchestrationMap); }  @PostMapping(value = "/infraActiveRequests/getCloudOrchestrationFiltersFromInfraActive") List<InfraActiveRequests> getCloudOrchestrationFiltersFromInfraActive(
            @RequestBody Map<String, String> orchestrationMap); @PostMapping(value = "/infraActiveRequests/getOrchestrationFiltersFromInfraActive") List<InfraActiveRequests> getOrchestrationFiltersFromInfraActive(
            @RequestBody Map<String, List<String>> orchestrationMap); @GetMapping(value = "/infraActiveRequests/checkVnfIdStatus/{operationalEnvironmentId}") InfraActiveRequests checkVnfIdStatus(
            @PathVariable("operationalEnvironmentId") String operationalEnvironmentId); @PostMapping(value = "/infraActiveRequests/checkInstanceNameDuplicate") InfraActiveRequests checkInstanceNameDuplicate(
            @RequestBody InstanceNameDuplicateCheckRequest instanceNameDuplicateCheckRequest); @PostMapping(value = "/infraActiveRequests/v1/getInfraActiveRequests") List<InfraActiveRequests> getInfraActiveRequests(@RequestBody Map<String, String[]> filters,
            @RequestParam("from") long startTime, @RequestParam("to") long endTime,
            @RequestParam(value = "maxResult", required = false) Integer maxResult); @GetMapping(value = "/infraActiveRequests/getInProgressVolumeGroupsAndVfModules") List<InfraActiveRequests> getInProgressVolumeGroupsAndVfModules();  }### Answer:
@Test public void getCloudOrchestrationFiltersFromInfraActiveTest() { Map<String, String> requestMap = new HashMap<>(); requestMap.put("operationalEnvironmentId", infraActiveRequests.getOperationalEnvId()); requestMap.put("operationalEnvironmentName", infraActiveRequests.getOperationalEnvName()); requestMap.put("resourceType", "operationalEnvironment"); HttpEntity<Map<String, String>> entity = new HttpEntity<>(requestMap, headers); UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl( createURLWithPort("/infraActiveRequests") + "/getCloudOrchestrationFiltersFromInfraActive"); ResponseEntity<List<InfraActiveRequests>> response = restTemplate.exchange(builder.toUriString(), HttpMethod.POST, entity, new ParameterizedTypeReference<List<InfraActiveRequests>>() {}); List<InfraActiveRequests> iarr = response.getBody(); assertEquals(200, response.getStatusCodeValue()); assertTrue(iarr.size() == 1); infraActiveRequestsResponse = iarr.get(0); verifyInfraActiveRequests(); }