public void TestHasProperties() { TestClass obj = new TestClass(); Assert.False(PropertyReflector.HasProperty(obj, "123")); Assert.True(PropertyReflector.HasProperty(obj, "PublicProp")); Assert.True(PropertyReflector.HasProperty(obj, "NestedProperty")); }