### Question:
UserHandler implements UserService.Iface { @Override public RequestStatus addUser(User user) throws TException { assertNotNull(user); assertNotNull(user.getEmail()); return db.addUser(user); } UserHandler(); @Override User getUser(String id); @Override User getByEmail(String email); @Override User getByEmailOrExternalId(String email, String externalId); @Override User getByApiToken(String token); @Override List<User> searchUsers(String searchText); @Override List<User> getAllUsers(); @Override RequestStatus addUser(User user); @Override RequestStatus updateUser(User user); @Override RequestStatus deleteUser(User user, User adminUser); @Override String getDepartmentByEmail(String email);  }### Answer:
@Test public void testAddUser() throws Exception { User userWithComment = new User().setEmail(DUMMY_EMAIL_ADDRESS_1).setCommentMadeDuringModerationRequest(DUMMY_COMMENT); handler.addUser(userWithComment); User userFromDatabase = handler.getByEmail(DUMMY_EMAIL_ADDRESS_1); assertEquals(DUMMY_EMAIL_ADDRESS_1, userFromDatabase.getEmail()); assertFalse(userFromDatabase.isSetCommentMadeDuringModerationRequest()); }