### Question:
Xs2aConsentService { public Optional<ScaStatus> getAuthorisationScaStatus(String consentId, String authorisationId) { return authorisationService.getAuthorisationScaStatus(authorisationId, consentId, AuthorisationType.CONSENT); }  Optional<CreateAuthorisationResponse> createConsentAuthorisation(String consentId, ScaStatus scaStatus, PsuIdData psuData); Optional<ScaStatus> getAuthorisationScaStatus(String consentId, String authorisationId);  }### Answer:
@Test void getAuthorisationScaStatus() { xs2aConsentService.getAuthorisationScaStatus(CONSENT_ID, AUTHORISATION_ID); verify(authorisationService, times(1)).getAuthorisationScaStatus(AUTHORISATION_ID, CONSENT_ID, AuthorisationType.CONSENT); }