public void Test__GetPropertyAttributeValues__Working() { var name = AttributesHelper.GetPropertyAttributeValue <TestViewModel, DisplayAttribute, string>(x => x.Title, a => a.Name); var description = AttributesHelper.GetPropertyAttributeValue <TestViewModel, DisplayAttribute, string>(x => x.TypeName, a => a.Description); Assert.That(name, Is.EqualTo("Tytuł")); Assert.That(description, Is.EqualTo("Coś")); }