@Test
  public void test() throws Exception {

    File zip = ResourceHelper.getFile("directoryIterator/zipFileIterator.zip");

    ZipFileIterator iterator = new ZipFileIterator(zip);

    for (int i = 0; i < 3; i++) {
      assertTrue(iterator.hasNext());
      File file = iterator.next();
      assertEquals("test", asText(file).substring(0, 4));
    }

    assertFalse(iterator.hasNext());
  }