### Question:
PisExecutePaymentServiceCommonImpl implements PisExecutePaymentService { @Override public SpiResponse<SpiPaymentExecutionResponse> verifyScaAuthorisationAndExecutePaymentWithPaymentResponse(SpiContextData contextData, SpiScaConfirmation spiScaConfirmation, SpiPayment payment, SpiAspspConsentDataProvider spiAspspConsentDataProvider) { return commonPaymentSpi.verifyScaAuthorisationAndExecutePaymentWithPaymentResponse(contextData, spiScaConfirmation, (SpiPaymentInfo) payment, spiAspspConsentDataProvider); }  @Override SpiResponse<SpiPaymentExecutionResponse> verifyScaAuthorisationAndExecutePaymentWithPaymentResponse(SpiContextData contextData,
                                                                                                      SpiScaConfirmation spiScaConfirmation,
                                                                                                      SpiPayment payment,
                                                                                                      SpiAspspConsentDataProvider spiAspspConsentDataProvider); @Override SpiResponse<SpiPaymentExecutionResponse> executePaymentWithoutSca(SpiContextData contextData, SpiPayment payment, SpiAspspConsentDataProvider aspspConsentDataProvider);  }### Answer:
@Test void verifyScaAuthorisationAndExecutePayment() { SpiContextData spiContextData = TestSpiDataProvider.defaultSpiContextData(); SpiScaConfirmation spiScaConfirmation = new SpiScaConfirmation(); SpiPaymentInfo payment = new SpiPaymentInfo(PAYMENT_PRODUCT); SpiResponse<SpiPaymentExecutionResponse> commonServiceResponse = SpiResponse.<SpiPaymentExecutionResponse>builder() .payload(new SpiPaymentExecutionResponse(TransactionStatus.ACSP)) .build(); when(commonPaymentSpi.verifyScaAuthorisationAndExecutePaymentWithPaymentResponse(spiContextData, spiScaConfirmation, payment, spiAspspConsentDataProvider)) .thenReturn(commonServiceResponse); SpiResponse<SpiPaymentExecutionResponse> actualResponse = pisExecutePaymentServiceCommon.verifyScaAuthorisationAndExecutePaymentWithPaymentResponse(spiContextData, spiScaConfirmation, payment, spiAspspConsentDataProvider); assertEquals(commonServiceResponse, actualResponse); verify(commonPaymentSpi).verifyScaAuthorisationAndExecutePaymentWithPaymentResponse(spiContextData, spiScaConfirmation, payment, spiAspspConsentDataProvider); }