@Test
public void testQueryByField() throws IOException {

    createQueryFixtures();
    Iterable<DUser> users = userDao.queryByDisplayName("mod7_2");
    int count = 0;
    for (DUser u : users) {
      count++;
      assertEquals("mod7_2", u.getDisplayName());
      assertEquals(2, u.getId() % 7);
    }
    assertEquals(9, count);
    users = userDao.queryByDisplayName(null);
    assertFalse(users.iterator().hasNext());
}