diff --git a/UnitTests/UnitTests.Notifications.Shared/Test_Toast_Xml.cs b/UnitTests/UnitTests.Notifications.Shared/Test_Toast_Xml.cs index 9e676c8a88e..c2a27f000d7 100644 --- a/UnitTests/UnitTests.Notifications.Shared/Test_Toast_Xml.cs +++ b/UnitTests/UnitTests.Notifications.Shared/Test_Toast_Xml.cs @@ -61,6 +61,35 @@ public void Test_Toast_XML_Toast_ActivationType_Protocol() AssertPayload("", toast); } + [TestMethod] + public void Test_Toast_XML_Toast_Scenario_Default() + { + var toast = new ToastContent() + { + Scenario = ToastScenario.Default + }; + + AssertPayload("", toast); + } + + [TestMethod] + public void Test_Toast_XML_Toast_Scenarios() + { + AssertToastScenario(ToastScenario.Reminder, "reminder"); + AssertToastScenario(ToastScenario.Alarm, "alarm"); + AssertToastScenario(ToastScenario.IncomingCall, "incomingCall"); + } + + private void AssertToastScenario(ToastScenario scenario, string scenarioText) + { + var toast = new ToastContent() + { + Scenario = scenario + }; + + AssertPayload("", toast); + } + [TestMethod] public void Test_Toast_XML_Toast_Duration_Short() {