@Operation(summary = "Do basic polymorphic info validation and recieve the basic info for the rest of the process.")
    @PostMapping(value = { Constants.URL_OLD_RDW_POLYMORPHICINFO,
            Constants.URL_RDW_POLYMORPHICINFO }, consumes = "application/json", produces = "application/json")
    public PolyInfoResponse validatePolymorphInfoRestService(@Valid @RequestBody PolyInfoRequest request,
            @RequestHeader(value = "X-FORWARDED-FOR") String clientIp) {
        return rdwService.validatePolymorphInfoRestService(request, clientIp);
    }
@Test
    public void prepareEacRequestRestServiceTest() {
        PolyInfoResponse expectedResponse = new PolyInfoResponse();
        when(rdwServiceMock.validatePolymorphInfoRestService(any(PolyInfoRequest.class), anyString())).thenReturn(expectedResponse);

        PolyInfoResponse actualResponse = rdwController.validatePolymorphInfoRestService(new PolyInfoRequest(), "");

        assertEquals(expectedResponse, actualResponse);
    }