### Question:
TppResetPasswordController implements TppResetPasswordRestApi { @Override public ResponseEntity<SendCode> sendCode(ResetPassword resetPassword) { return resetPasswordRestClient.sendCode(resetPassword); }  @Override ResponseEntity<SendCode> sendCode(ResetPassword resetPassword); @Override ResponseEntity<UpdatePassword> updatePassword(ResetPassword resetPassword);  }### Answer:
@Test void sendCode() { when(resetPasswordRestClient.sendCode(any())).thenReturn(ResponseEntity.ok(getCode())); ResponseEntity<SendCode> response = tppResetPasswordController.sendCode(getResetPassword()); assertTrue(response.getStatusCode().is2xxSuccessful()); assertTrue(response.getBody().isSent()); }