### Question:
Xs2aPisCommonPaymentService { public boolean updateMultilevelSca(String paymentId, boolean multilevelScaRequired) { CmsResponse<Boolean> response = pisCommonPaymentServiceEncrypted.updateMultilevelSca(paymentId, multilevelScaRequired); return response.isSuccessful() && response.getPayload(); }  CreatePisCommonPaymentResponse createCommonPayment(PisPaymentInfo request); Optional<PisCommonPaymentResponse> getPisCommonPaymentById(String paymentId); boolean updateMultilevelSca(String paymentId, boolean multilevelScaRequired);  }### Answer:
@Test void updateMultilevelSca() { when(pisCommonPaymentServiceEncrypted.updateMultilevelSca(PAYMENT_ID, true)) .thenReturn(CmsResponse.<Boolean>builder().payload(true).build()); boolean actualResponse = xs2aPisCommonPaymentService.updateMultilevelSca(PAYMENT_ID, true); assertThat(actualResponse).isTrue(); }