public void TestDeleteFoldersWithEvent()
        {
            const int Capacity   = 100;
            var       tempFolder = Path.GetTempPath();

            var directories = new List <DirectoryInfo>(Capacity);

            for (int directoryCount = 0; directoryCount < Capacity; directoryCount++)
            {
                directories.Add(Directory.CreateDirectory(Path.Combine(tempFolder, RandomData.GenerateWord(15, 'A', 'Z'))));
            }

            var processor = new FileProcessor();

            processor.Processed += this.Processor_Processed;

            _ = processor.DeleteFolders(directories);

            processor.Processed -= this.Processor_Processed;
        }