### Question:
DecoupledPisScaAuthorisationService implements PisScaAuthorisationService { @Override public Optional<Xs2aCreatePisAuthorisationResponse> createCommonPaymentAuthorisation(String paymentId, PaymentType paymentType, PsuIdData psuData) { return pisCommonPaymentMapper.mapToXsa2CreatePisAuthorisationResponse(authorisationService.createPisAuthorisation(paymentId, psuData), paymentType); }  @Override Optional<Xs2aCreatePisAuthorisationResponse> createCommonPaymentAuthorisation(String paymentId, PaymentType paymentType, PsuIdData psuData); @Override Xs2aUpdatePisCommonPaymentPsuDataResponse updateCommonPaymentPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request); @Override void updateAuthorisation(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response); @Override void updateCancellationAuthorisation(UpdateAuthorisationRequest request, AuthorisationProcessorResponse response); @Override Optional<Xs2aCreatePisCancellationAuthorisationResponse> createCommonPaymentCancellationAuthorisation(String paymentId, PaymentType paymentType, PsuIdData psuData); @Override Optional<Xs2aPaymentCancellationAuthorisationSubResource> getCancellationAuthorisationSubResources(String paymentId); @Override Xs2aUpdatePisCommonPaymentPsuDataResponse updateCommonPaymentCancellationPsuData(Xs2aUpdatePisCommonPaymentPsuDataRequest request); @Override Optional<Xs2aAuthorisationSubResources> getAuthorisationSubResources(String paymentId); @Override Optional<ScaStatus> getAuthorisationScaStatus(String paymentId, String authorisationId); @Override Optional<ScaStatus> getCancellationAuthorisationScaStatus(String paymentId, String authorisationId); @Override ScaApproach getScaApproachServiceType();  }### Answer:
@Test void createCommonPaymentAuthorisation() { CreateAuthorisationResponse authorisationResponse = new CreateAuthorisationResponse(AUTHORISATION_ID, SCA_STATUS, "2344565", PSU_ID_DATA); when(authorisationService.createPisAuthorisation(PAYMENT_ID, PSU_ID_DATA)).thenReturn(authorisationResponse); decoupledPisScaAuthorisationService.createCommonPaymentAuthorisation(PAYMENT_ID, PaymentType.SINGLE, PSU_ID_DATA); verify(authorisationService, times(1)).createPisAuthorisation(PAYMENT_ID, PSU_ID_DATA); verify(pisCommonPaymentMapper, times(1)).mapToXsa2CreatePisAuthorisationResponse(authorisationResponse, PaymentType.SINGLE); }