@Test
public void testPrepareUser() throws Exception {

    User user = new User();
    user.setEmail(DUMMY_EMAIL_ADDRESS);
    user.setCommentMadeDuringModerationRequest(DUMMY_MODERATION_COMMENT);
    prepareUser(user);
    assertEquals(user.getEmail(), user.getId());
    assertEquals(TYPE_USER,user.getType());
    assertFalse(user.isSetCommentMadeDuringModerationRequest());
}