示例#1
0
        public void GetEmail()
        {
            AutomaticEmail ae = new AutomaticEmail();
            String         r  = ae.getUserEmail(Int32.Parse(userID));

            Assert.AreEqual("*****@*****.**", r);
        }
示例#2
0
        public void SendConfirmationEmail()
        {
            AutomaticEmail ae = new AutomaticEmail();
            bool           r  = ae.SendEmail("*****@*****.**", "Test", "This is an automated test");

            Assert.IsTrue(r);
        }