public ICondition WasCreated()
 {
     return(new DelegatingCondition(() => {
         bool fileExists = fs.FileExists(folderName);
         if (!fileExists)
         {
             return EvaluationResult.Error(FolderMessages.NotCreated(folderName));
         }
         return EvaluationResult.OK;
     }));
 }
 public ICondition WereCreated()
 {
     return(new DelegatingCondition(() => {
         var results = new MultiEvaluationResult();
         foreach (var name in names)
         {
             if (!fileSystem.DirectoryExists(name))
             {
                 results.add(EvaluationResult.Error(FolderMessages.NotCreated(name)));
             }
         }
         return results;
     }));
 }