I would like to write a test for the piece of code below. Specially I would like to verify the existence of the "response" object. Can I achieve this using "StepVerifier"?
saharaSnowTickets.raiseIncidentWithCustomDescriptionAndNonRandomEventId(summary, description, Severity.SEV_2, cmdId ).retryWhen(Retry.backoff(properties.getRetry(), getDuration(properties.getUnity(), properties.getDuration()))) .doOnNext(response -> {log.info("response {}", response) }) .then();