### Question:
PisCommonPaymentServiceRemote implements PisCommonPaymentServiceEncrypted { @Override public CmsResponse<Boolean> updateMultilevelSca(String paymentId, boolean multilevelScaRequired) { try { Boolean body = consentRestTemplate.exchange(remotePisCommonPaymentUrls.updateMultilevelScaRequired(), HttpMethod.PUT, null, Boolean.class, paymentId, multilevelScaRequired).getBody(); return CmsResponse.<Boolean>builder() .payload(body) .build(); } catch (CmsRestException cmsRestException) { log.info("Payment ID: [{}]. No payment could be found by given payment ID.", paymentId); } return CmsResponse.<Boolean>builder() .payload(false) .build(); }  @Override CmsResponse<CreatePisCommonPaymentResponse> createCommonPayment(PisPaymentInfo request); @Override CmsResponse<TransactionStatus> getPisCommonPaymentStatusById(String paymentId); @Override CmsResponse<PisCommonPaymentResponse> getCommonPaymentById(String paymentId); @Override CmsResponse<Boolean> updateCommonPaymentStatusById(String paymentId, TransactionStatus status); @Override CmsResponse<String> getDecryptedId(String encryptedId); @Override CmsResponse<Boolean> updateMultilevelSca(String paymentId, boolean multilevelScaRequired); @Override CmsResponse<List<PsuIdData>> getPsuDataListByPaymentId(String paymentId);  }### Answer:
@Test void updateMultilevelSca() { when(remotePisCommonPaymentUrls.updateMultilevelScaRequired()).thenReturn(UPDATE_MULTILEVEL_SCA_URL); when(consentRestTemplate.exchange(UPDATE_MULTILEVEL_SCA_URL, HttpMethod.PUT, null, Boolean.class, PAYMENT_ID, true)).thenReturn(ResponseEntity.ok(true)); CmsResponse<Boolean> actualResponse = service.updateMultilevelSca(PAYMENT_ID, true); assertTrue(actualResponse.isSuccessful()); assertTrue(actualResponse.getPayload()); }