Ejemplo n.º 1
0
        public void DeleteNotificationDevice_InvalidObjectId_Failure()
        {
            var res = NotificationDevice.DeleteNotificationDevice(_connectionServer, _tempUser.ObjectId, "aaa",
                                                                  NotificationDeviceTypes.Sms);

            Assert.IsFalse(res.Success, "Invalid device objectID should fail");
        }
Ejemplo n.º 2
0
        public void DeleteNotificationDevice_EmptyDeviceObjectId_Failure()
        {
            var res = NotificationDevice.DeleteNotificationDevice(_mockServer, "objectid", "", NotificationDeviceTypes.Sms);

            Assert.IsFalse(res.Success, "Empty device objectID should fail");
        }
Ejemplo n.º 3
0
        public void DeleteNotificationDevice_NullConnectionServer_Failure()
        {
            WebCallResult res = NotificationDevice.DeleteNotificationDevice(null, "objectid", "aaa", NotificationDeviceTypes.Sms);

            Assert.IsFalse(res.Success, "Null Connection Server object should fail");
        }