@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());
}