### Question:
ObaCancellationController implements ObaCancellationApi { @Override public ResponseEntity<SCAPaymentResponseTO> selectSca(String paymentId, String cancellationId, String scaMethodId) { return paymentRestClient.selecCancelPaymentSCAtMethod(paymentId, cancellationId, scaMethodId); }  @Override ResponseEntity<SCAPaymentResponseTO> initCancellation(String paymentId); @Override ResponseEntity<SCAPaymentResponseTO> selectSca(String paymentId, String cancellationId, String scaMethodId); @Override ResponseEntity<Void> validateTAN(String paymentId, String cancellationId, String authCode);  }### Answer:
@Test void selectSca() { when(paymentRestClient.selecCancelPaymentSCAtMethod(PMT_ID, AUTH_ID, METHOD_ID)).thenReturn(getResponse(ScaStatusTO.SCAMETHODSELECTED, TransactionStatusTO.ACSP, true, true, OK)); ResponseEntity<SCAPaymentResponseTO> result = controller.selectSca(PMT_ID, AUTH_ID, METHOD_ID); assertEquals(getResponse(ScaStatusTO.EXEMPTED, TransactionStatusTO.ACSP, true, true, OK), result); }