public void TypesThat_HaveProperty_Generic_With_Name() { var testFunc = (Func <Type, bool>)TypesThat.HaveProperty <int>("PropertyA"); Assert.True(testFunc(typeof(PropertyClass))); }
public void TypesThat_HaveProperty() { var testFunc = (Func <Type, bool>)TypesThat.HaveProperty("PropertyA"); Assert.True(testFunc(typeof(PropertyClass))); }