public void UndefinedAttributeAddress() { var nameProperty = typeof(Person).GetProperty("Name"); Assert.AreEqual("Name", WorkViewAttributeAttribute.GetStringAddress(nameProperty)); }
public void DefinedAttributeAddress() { var ageProperty = typeof(Person).GetProperty("Age"); Assert.AreEqual("Parent.Age", WorkViewAttributeAttribute.GetStringAddress(ageProperty)); }