public void GetEmail() { AutomaticEmail ae = new AutomaticEmail(); String r = ae.getUserEmail(Int32.Parse(userID)); Assert.AreEqual("*****@*****.**", r); }
public void SendConfirmationEmail() { AutomaticEmail ae = new AutomaticEmail(); bool r = ae.SendEmail("*****@*****.**", "Test", "This is an automated test"); Assert.IsTrue(r); }