public void AlertWithEmptyAddressesAndScopePrivateIsInvalid()
        {
            var alert = new Alert();

            alert.Scope = Scope.Private;

            var addressesRequiredWhenScopeValidator = new AddressesRequiredWhenScopePrivateValidator(alert);

            Assert.False(addressesRequiredWhenScopeValidator.IsValid);
        }
        public void AlertWithAddressAndNoScopeIsValid()
        {
            var alert = new Alert();

            alert.Addresses.Add("list1");
            alert.Addresses.Add("list2");
            alert.Addresses.Add("list3");

            var addressesRequiredWhenScopeValidator = new AddressesRequiredWhenScopePrivateValidator(alert);

            Assert.True(addressesRequiredWhenScopeValidator.IsValid);
        }