  @Test
  public void testFindUniqueByField() throws IOException {

    createQueryFixtures();

    DUser u47 = userDao.findByEmail(null);
    assertNull(u47);

    u47 = userDao.findByEmail("user_47@example.com");
    assertEquals(Long.valueOf(47), u47.getId());
    assertEquals("user_47@example.com", u47.getEmail());
  }