    @Test
    public void zipContainsNestedPrefix() throws IOException
    {

        File zipFile = new File(tempDir, "zip-nested-prefix.zip");
        ZipUtils.zipDir(zipFile, sourceZipDir, NESTED_PREFIX);

        zip = new ZipFile(zipFile);
        final Enumeration<? extends ZipEntry> entries = zip.entries();

        while (entries.hasMoreElements())
        {
            final ZipEntry zipEntry = entries.nextElement();
            String zipPath = zipEntry.getName();
            String[] segments = zipPath.split("/");
            if (segments.length > 1)
            {
                String testPrefix = segments[0] + "/" + segments[1];

                assertEquals(NESTED_PREFIX, testPrefix);
            }
        }
    }