@Operation(summary = "Create the signature")
    @PostMapping(value = { Constants.URL_OLD_RDW_SIGNATURE,
            Constants.URL_RDW_SIGNATURE }, consumes = "application/json", produces = "application/json")
    public SignatureResponse getDigitalSignatureRestService(@Valid @RequestBody SignatureRequest request,
            @RequestHeader(value = "X-FORWARDED-FOR") String clientIp) {
        return rdwService.getDigitalSignatureRestService(request, clientIp);
    }
@Test
    public void getDigitalSignatureRestServiceTest() {
        SignatureResponse expectedResponse = new SignatureResponse();
        when(rdwServiceMock.getDigitalSignatureRestService(any(SignatureRequest.class), anyString())).thenReturn(expectedResponse);

        SignatureResponse actualResponse = rdwController.getDigitalSignatureRestService(new SignatureRequest(), "");

        assertEquals(expectedResponse, actualResponse);
    }