@Operation(summary = "Get the correct AT cetificate")
    @PostMapping(value = Constants.URL_NIK_START, consumes = "application/json", produces = "application/json")
    public GetCertificateResponse getCertificateRestService(@Valid @RequestBody GetCertificateRequest request,
                                                            @RequestHeader(value = "X-FORWARDED-FOR") String clientIp) {
        return nikService.getCertificateRestService(request, clientIp);
    }
@Test
    public void getCertificateRestServiceTest() {
        GetCertificateResponse expectedResponse = new GetCertificateResponse();
        when(nikServiceMock.getCertificateRestService(any(GetCertificateRequest.class), anyString())).thenReturn(expectedResponse);

        GetCertificateResponse actualResponse = nikController.getCertificateRestService(new GetCertificateRequest(), "");

        assertEquals(expectedResponse, actualResponse);
    }