public void InvalidOwnerIdentifier() { var validator = new ContactGroupRowValidator(); var data = this.Group(); data.PartitionKey = StringHelper.NullEmptyWhiteSpace(); Assert.IsFalse(validator.ValidateForAddOrUpdate(data)); }
public void Valid() { var validator = new ContactGroupRowValidator(); Assert.IsTrue(validator.ValidateForAddOrUpdate(this.Group())); }