Ejemplo n.º 1
0
        public void ReadFilesTest()
        {
            string        path = System.IO.Path.Combine(Environment.CurrentDirectory, @"C:\Users\JAVI\git\sistemas-distribuidos\EmailSender\EmailTest\resources");
            FolderManager fm   = new FolderManager();

            List <Email> read = fm.ReadFiles(path);

            Assert.AreEqual("vbsiudvbisu", read[0].message);
            Assert.AreEqual("*****@*****.**", read[0].toEmail);
        }