public void AddSmtpDevice_NullConnectionServer_Failure()
        {
            var res = NotificationDevice.AddSmtpDevice(null, "objectId", "device name", "*****@*****.**", null, true);

            Assert.IsFalse(res.Success, "Calling AddSmtpDevice with null ConnectionServerRest did not fail");
        }
        public void AddSmtpDevice_NullEventType_Failure()
        {
            var res = NotificationDevice.AddSmtpDevice(_mockServer, "objectId", "device name", "*****@*****.**", null, true);

            Assert.IsFalse(res.Success, "Calling AddSmtpDevice with null event type did not fail");
        }
        public void AddSmtpDevice_InvalidEventTrigger_Failure()
        {
            var res = NotificationDevice.AddSmtpDevice(_mockServer, "objectId", "device name", "smtpAddress", "BogusEvent", true);

            Assert.IsFalse(res.Success, "Calling AddHtmlDevice with bogus device trigger type did not fail");
        }