@Test
public void testHasUserId() throws Exception {

    User user1 = _userRepo.save(newUser(_inc));
    _userRepo.save(newUser(_inc));
    final List<User> found = _userRepo.findAll(hasUserId(user1.getId()));
    assertEquals(1, found.size());
    assertEquals(user1.getId(), found.get(0).getId());
}