@Test public void updateSignatureTicketWithError() { String relayState = "TransactionID"; dssSignatureService.updateSignatureTicketWithError(relayState); verify(redisTicketTracker).updateStatus(ticketIdCaptor.capture(), statusCaptor.capture()); assertEquals(relayState, ticketIdCaptor.getValue()); assertEquals(SignaturStatus.ERROR, statusCaptor.getValue()); }
public SignaturBiljett updateSignatureTicketWithError(String relayState) { return redisTicketTracker.updateStatus(relayState, SignaturStatus.ERROR); }
DssSignatureService { public SignaturBiljett updateSignatureTicketWithError(String relayState) { return redisTicketTracker.updateStatus(relayState, SignaturStatus.ERROR); } }
DssSignatureService { public SignaturBiljett updateSignatureTicketWithError(String relayState) { return redisTicketTracker.updateStatus(relayState, SignaturStatus.ERROR); } @Autowired  DssSignatureService(DssMetadataService dssMetadataService, DssSignMessageService dssSignMessageService,
        WebCertUserService userService, UtkastRepository utkastRepository, UnderskriftService underskriftService,
        RedisTicketTracker redisTicketTracker, MonitoringLogService monitoringLogService, IntygModuleRegistry moduleRegistry); }
DssSignatureService { public SignaturBiljett updateSignatureTicketWithError(String relayState) { return redisTicketTracker.updateStatus(relayState, SignaturStatus.ERROR); } @Autowired  DssSignatureService(DssMetadataService dssMetadataService, DssSignMessageService dssSignMessageService,
        WebCertUserService userService, UtkastRepository utkastRepository, UnderskriftService underskriftService,
        RedisTicketTracker redisTicketTracker, MonitoringLogService monitoringLogService, IntygModuleRegistry moduleRegistry); boolean isUnitInIeWhitelist(String currentCareUnitHsaId); DssSignRequestDTO createSignatureRequestDTO(SignaturBiljett sb); String createTransactionID(); @SuppressWarnings("unchecked") SignaturBiljett receiveSignResponse(String relayState, String eIdSignResponse); String findReturnErrorUrl(String intygsId, String ticketId); String findReturnUrl(String intygsId); SignaturBiljett updateSignatureTicketWithError(String relayState); }
DssSignatureService { public SignaturBiljett updateSignatureTicketWithError(String relayState) { return redisTicketTracker.updateStatus(relayState, SignaturStatus.ERROR); } @Autowired  DssSignatureService(DssMetadataService dssMetadataService, DssSignMessageService dssSignMessageService,
        WebCertUserService userService, UtkastRepository utkastRepository, UnderskriftService underskriftService,
        RedisTicketTracker redisTicketTracker, MonitoringLogService monitoringLogService, IntygModuleRegistry moduleRegistry); boolean isUnitInIeWhitelist(String currentCareUnitHsaId); DssSignRequestDTO createSignatureRequestDTO(SignaturBiljett sb); String createTransactionID(); @SuppressWarnings("unchecked") SignaturBiljett receiveSignResponse(String relayState, String eIdSignResponse); String findReturnErrorUrl(String intygsId, String ticketId); String findReturnUrl(String intygsId); SignaturBiljett updateSignatureTicketWithError(String relayState); static final String RESULTMAJOR_SUCCESS; static final String REQUESTED_SIGN_ALGORITHM; }