@Test
public void testZipDirComplex() throws IOException {

  fileUtils.createFileInDir(tempDir, "test1");
  fileUtils.createFileInDir(tempDir, "test2");
  fileUtils.createFileInDir(tempDir, "test3");
  File subdir1 = fileUtils.createDirectory(tempDir, "subdir1");
  File subdir2 = fileUtils.createDirectory(tempDir, "subdir2");
  fileUtils.createFileInDir(subdir1, "file1_1");
  fileUtils.createFileInDir(subdir1, "file1_2");
  fileUtils.createFileInDir(subdir2, "file2_1");
  fileUtils.createFileInDir(subdir2, "file2_2");
  File dstFile = getDestinationFile();
  ZipUtilities.zipDir(tempDir.getAbsolutePath(), dstFile.getAbsolutePath());
  assertZipEntriesByName(dstFile, Sets.newHashSet(
      "test1", "test2", "test3",
      "subdir1/file1_1", "subdir1/file1_2",
      "subdir2/file2_1", "subdir2/file2_2"
  ));
}