@Test
public void testUnzip() throws Exception {

  ZipUtil.unzip(sampleZip, destDir);
  ZipFile test = new ZipFile(sampleZip);
  Enumeration<? extends ZipEntry> entries = test.entries();
  try {
    while (entries.hasMoreElements()) {
      ZipEntry entry = entries.nextElement();
      Assert.assertTrue(new File(destDir, entry.getName()).exists());
    }
  } catch (AssertionError ae) {
    test.close();
    throw ae;
  }
  test.close();
}