@Test void changeStatus() { when(userMgmtStaffRestClient.changeStatus(anyString())).thenReturn(ResponseEntity.ok(true)); ResponseEntity<Boolean> result = tppUsersController.changeStatus(USER_ID); assertEquals(ResponseEntity.ok(true), result); }
@Override public ResponseEntity<Boolean> changeStatus(String userId) { return userMgmtStaffRestClient.changeStatus(userId); }
TppUsersController implements TppUsersRestApi { @Override public ResponseEntity<Boolean> changeStatus(String userId) { return userMgmtStaffRestClient.changeStatus(userId); } }
TppUsersController implements TppUsersRestApi { @Override public ResponseEntity<Boolean> changeStatus(String userId) { return userMgmtStaffRestClient.changeStatus(userId); }  }
TppUsersController implements TppUsersRestApi { @Override public ResponseEntity<Boolean> changeStatus(String userId) { return userMgmtStaffRestClient.changeStatus(userId); }  @Override ResponseEntity<UserTO> createUser(User user); @Override ResponseEntity<CustomPageImpl<UserTO>> getAllUsers(String queryParam, int page, int size); @Override ResponseEntity<Void> updateUser(User user); @Override ResponseEntity<UserTO> getUser(String userId); @Override ResponseEntity<UserTO> getSelf(); @Override ResponseEntity<Boolean> changeStatus(String userId); }
TppUsersController implements TppUsersRestApi { @Override public ResponseEntity<Boolean> changeStatus(String userId) { return userMgmtStaffRestClient.changeStatus(userId); }  @Override ResponseEntity<UserTO> createUser(User user); @Override ResponseEntity<CustomPageImpl<UserTO>> getAllUsers(String queryParam, int page, int size); @Override ResponseEntity<Void> updateUser(User user); @Override ResponseEntity<UserTO> getUser(String userId); @Override ResponseEntity<UserTO> getSelf(); @Override ResponseEntity<Boolean> changeStatus(String userId);  }