Exemple #1
0
        public void InvalidOwnerIdentifier()
        {
            var validator = new ContactGroupRowValidator();
            var data      = this.Group();

            data.PartitionKey = StringHelper.NullEmptyWhiteSpace();
            Assert.IsFalse(validator.ValidateForAddOrUpdate(data));
        }
Exemple #2
0
        public void Valid()
        {
            var validator = new ContactGroupRowValidator();

            Assert.IsTrue(validator.ValidateForAddOrUpdate(this.Group()));
        }