### Question:
PisCheckAuthorisationConfirmationServiceCommonImpl implements PisCheckAuthorisationConfirmationService { @Override public SpiResponse<SpiPaymentConfirmationCodeValidationResponse> checkConfirmationCode(SpiContextData contextData, SpiCheckConfirmationCodeRequest spiCheckConfirmationCodeRequest, SpiPayment payment, SpiAspspConsentDataProvider aspspConsentDataProvider) { return commonPaymentSpi.checkConfirmationCode(contextData, spiCheckConfirmationCodeRequest, aspspConsentDataProvider); }  @Override SpiResponse<SpiPaymentConfirmationCodeValidationResponse> checkConfirmationCode(SpiContextData contextData, SpiCheckConfirmationCodeRequest spiCheckConfirmationCodeRequest, SpiPayment payment, SpiAspspConsentDataProvider aspspConsentDataProvider); @Override SpiResponse<SpiPaymentConfirmationCodeValidationResponse> notifyConfirmationCodeValidation(SpiContextData contextData, boolean confirmationCodeValidationResult, SpiPayment payment, boolean isCancellation, SpiAspspConsentDataProvider aspspConsentDataProvider);  }### Answer:
@Test void checkConfirmationCode() { SpiContextData spiContextData = TestSpiDataProvider.defaultSpiContextData(); SpiCheckConfirmationCodeRequest spiCheckConfirmationCodeRequest = new SpiCheckConfirmationCodeRequest("some code", AUTHORISATION_ID); SpiPaymentInfo payment = new SpiPaymentInfo(PAYMENT_PRODUCT); SpiResponse<SpiPaymentConfirmationCodeValidationResponse> commonServiceResponse = SpiResponse.<SpiPaymentConfirmationCodeValidationResponse>builder() .payload(new SpiPaymentConfirmationCodeValidationResponse(ScaStatus.FINALISED, TransactionStatus.ACSP)) .build(); when(commonPaymentSpi.checkConfirmationCode(spiContextData, spiCheckConfirmationCodeRequest, spiAspspConsentDataProvider)) .thenReturn(commonServiceResponse); SpiResponse<SpiPaymentConfirmationCodeValidationResponse> actualResponse = pisCheckAuthorisationConfirmationServiceCommon.checkConfirmationCode(spiContextData, spiCheckConfirmationCodeRequest, payment, spiAspspConsentDataProvider); assertEquals(commonServiceResponse, actualResponse); }