public void DeleteFilesTest() { string path = System.IO.Path.Combine(Environment.CurrentDirectory, @"C:\Users\JAVI\git\sistemas-distribuidos\EmailSender\EmailTest\resources\delete-tests"); FolderManager fm = new FolderManager(); fm.DeleteFiles(path); //Obtener numero de ficheros en path https://code.i-harness.com/es/q/223804 int fCount = Directory.GetFiles(path, "*", SearchOption.TopDirectoryOnly).Length; Assert.AreEqual(0, fCount); }