@Test
  public void getProductByIngestionDate() {
    Date date = new Date();
    Iterator<Product> products = dao.getProductsByIngestionDate(date);
    Assert.assertEquals(getIteratorSize(products), 4);

    Calendar calendar = Calendar.getInstance();
    calendar.set(2014, Calendar.JUNE, 07, 0, 0, 0);
    date = calendar.getTime();
    products = dao.getProductsByIngestionDate(date);
    Assert.assertEquals(getIteratorSize(products), 1);
  }