### Question:
InfraActiveRequestsRepositoryCustomController { @GetMapping(value = "/infraActiveRequests/checkVnfIdStatus/{operationalEnvironmentId}") public InfraActiveRequests checkVnfIdStatus( @PathVariable("operationalEnvironmentId") String operationalEnvironmentId) { return infraActiveRequestsRepository.checkVnfIdStatus(operationalEnvironmentId); }  @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 checkVnfIdStatusTest() { UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(createURLWithPort( "/infraActiveRequests" + "/checkVnfIdStatus/" + infraActiveRequests.getOperationalEnvId())); HttpEntity<String> entity = new HttpEntity(HttpEntity.EMPTY, headers); ResponseEntity<InfraActiveRequests> response = restTemplate.exchange(builder.toUriString(), HttpMethod.GET, entity, InfraActiveRequests.class); infraActiveRequestsResponse = response.getBody(); assertEquals(200, response.getStatusCodeValue()); verifyInfraActiveRequests(); }