@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()); }
@Override public ResponseEntity<UpdatePassword> updatePassword(ResetPassword resetPassword) { return resetPasswordRestClient.updatePassword(resetPassword); }
TppResetPasswordController implements TppResetPasswordRestApi { @Override public ResponseEntity<UpdatePassword> updatePassword(ResetPassword resetPassword) { return resetPasswordRestClient.updatePassword(resetPassword); } }
TppResetPasswordController implements TppResetPasswordRestApi { @Override public ResponseEntity<UpdatePassword> updatePassword(ResetPassword resetPassword) { return resetPasswordRestClient.updatePassword(resetPassword); }  }
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); }
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);  }