public function createDummyZipArchive($fileName = 'test.zip', array $filesToAddToArchive = [])
    {
        $this->checkForZipArchive();

        $this->createDummyUploadFolder();
        $uniqueFileName = $this->getUniqueFileOrFolderPath($fileName);
        $zip = new ZipArchive();

        if ($zip->open($uniqueFileName, ZipArchive::CREATE) !== true) {
            throw new Exception('The new ZIP archive "' . $fileName . '" could not be created.', 1334439299);
        }

        $contents = !empty($filesToAddToArchive) ? $filesToAddToArchive : [$this->createDummyFile()];

        foreach ($contents as $pathToFile) {
            if (!file_exists($pathToFile)) {
                throw new Exception(
                    'The provided path "' . $pathToFile . '" does not point to an existing file.',
                    1334439306
                );
            }
            $zip->addFile($pathToFile, $this->getPathRelativeToUploadDirectory($pathToFile));
        }

        $zip->close();
        $this->addToDummyFileList($uniqueFileName);

        return $uniqueFileName;
    }