### Question:
TppUsersController implements TppUsersRestApi { @Override public ResponseEntity<UserTO> createUser(User user) { UserTO userTO = userMapper.toUserTO(user); return userMgmtStaffRestClient.createUser(userTO); }  @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);  }### Answer:
@Test void createUser() { when(userMapper.toUserTO(any())).thenReturn(getUserTO(BRANCH)); when(userMgmtStaffRestClient.createUser(any())).thenReturn(ResponseEntity.ok(getUserTO(BRANCH))); ResponseEntity<UserTO> user = tppUsersController.createUser(getUser(USER_ID)); assertTrue(user.getStatusCode().is2xxSuccessful()); assertThat(Objects.requireNonNull(user.getBody()).getId()).isEqualTo(getUserTO(BRANCH).getId()); }