public void Test_FromBaseWithAttribute() { InheritedAttribute attribute = (InheritedAttribute)AttributeUtility.GetCustomAttribute(_basePropertyWithSingleAttribute, typeof(InheritedAttribute), true); Assert.That(attribute, Is.Not.Null); }
public void TestGeneric_FromBaseWithAttribute() { InheritedAttribute attribute = AttributeUtility.GetCustomAttribute <InheritedAttribute> (_basePropertyWithSingleAttribute, true); Assert.That(attribute, Is.Not.Null); }