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