public void IsWorkViewAttributeDefined() { var dobProperty = typeof(Person).GetProperty("Name"); Assert.IsTrue(WorkViewAttributeAttribute.IsDefined(dobProperty)); }
public void IsWorkViewAttributeNotDefined() { var dobProperty = typeof(Person).GetProperty("Birthday"); Assert.IsFalse(WorkViewAttributeAttribute.IsDefined(dobProperty)); }