@Test void user() { when(adminRestClient.user(any())).thenReturn(ResponseEntity.ok().build()); ResponseEntity<Void> result = controller.user(new UserTO()); assertEquals(HttpStatus.OK, result.getStatusCode()); }
@Override public ResponseEntity<Void> user(UserTO user) { return adminRestClient.user(user); }
TppAdminController implements TppAdminRestApi { @Override public ResponseEntity<Void> user(UserTO user) { return adminRestClient.user(user); } }
TppAdminController implements TppAdminRestApi { @Override public ResponseEntity<Void> user(UserTO user) { return adminRestClient.user(user); }  }
TppAdminController implements TppAdminRestApi { @Override public ResponseEntity<Void> user(UserTO user) { return adminRestClient.user(user); }  @Override ResponseEntity<CustomPageImpl<UserExtendedTO>> users(String countryCode, String tppId, String tppLogin, String userLogin, UserRoleTO role, Boolean blocked, int page, int size); @Override ResponseEntity<Void> user(UserTO user); @Override ResponseEntity<CustomPageImpl<AccountDetailsExtendedTO>> accounts(String countryCode, String tppId, String tppLogin, String ibanParam, Boolean isBlocked, int page, int size); @Override ResponseEntity<Void> register(User user, String tppId); @Override ResponseEntity<Void> admin(User user); @Override ResponseEntity<CustomPageImpl<UserTO>> admins(int page, int size); @Override ResponseEntity<Void> remove(String tppId); @Override ResponseEntity<Void> updatePassword(String tppId, String password); @Override ResponseEntity<Boolean> changeStatus(String userId); }
TppAdminController implements TppAdminRestApi { @Override public ResponseEntity<Void> user(UserTO user) { return adminRestClient.user(user); }  @Override ResponseEntity<CustomPageImpl<UserExtendedTO>> users(String countryCode, String tppId, String tppLogin, String userLogin, UserRoleTO role, Boolean blocked, int page, int size); @Override ResponseEntity<Void> user(UserTO user); @Override ResponseEntity<CustomPageImpl<AccountDetailsExtendedTO>> accounts(String countryCode, String tppId, String tppLogin, String ibanParam, Boolean isBlocked, int page, int size); @Override ResponseEntity<Void> register(User user, String tppId); @Override ResponseEntity<Void> admin(User user); @Override ResponseEntity<CustomPageImpl<UserTO>> admins(int page, int size); @Override ResponseEntity<Void> remove(String tppId); @Override ResponseEntity<Void> updatePassword(String tppId, String password); @Override ResponseEntity<Boolean> changeStatus(String userId);  }