diff options
Diffstat (limited to 'pollutometer-api/PollutometerWebApi.Tests/EmailSenderTests.cs')
-rw-r--r-- | pollutometer-api/PollutometerWebApi.Tests/EmailSenderTests.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pollutometer-api/PollutometerWebApi.Tests/EmailSenderTests.cs b/pollutometer-api/PollutometerWebApi.Tests/EmailSenderTests.cs new file mode 100644 index 0000000..427ec92 --- /dev/null +++ b/pollutometer-api/PollutometerWebApi.Tests/EmailSenderTests.cs @@ -0,0 +1,21 @@ +using Microsoft.VisualStudio.TestTools.UnitTesting; +using PollutometerWebApi.Models; + +namespace PollutometerWebApi.Tests +{ + [TestClass()] + public class EmailSenderTests + { + [TestMethod()] + public void SendEmailTest() + { + var aqi = new Aqi + { + GasName = "SO", + Value = 69, + Level = "Moderate" + }; + EmailSender.SendEmail(aqi); + } + } +}
\ No newline at end of file |