@Test
public void testFindNotActivatedUsersByCreationDateBefore() {

    userService.removeNotActivatedUsers();
    DateTime now = new DateTime();
    List<User> users = userRepository.findAllByActivatedIsFalseAndCreatedDateBefore(now.minusDays(3));
    assertThat(users).isEmpty();
}