Ejemplo n.º 1
0
        public void FcmNotification_Priority_Should_Serialize_As_String_Normal()
        {
            var n = new FcmNotification();

            n.Priority = FcmNotificationPriority.Normal;

            var str = n.ToString();

            Assert.IsTrue(str.Contains("normal"));
        }
Ejemplo n.º 2
0
        public void FcmNotification_Priority_Should_Serialize_As_String_High()
        {
            var n = new FcmNotification();

            n.Priority = FcmNotificationPriority.High;

            var str = n.ToString();

            Assert.IsTrue(str.Contains("high"));
        }