public void CreatePropertyReflector() { using (MixinConfiguration.BuildNew().EnterScope()) { PropertyInfo propertyInfo = typeof(TestClass).GetProperty("Property"); IPropertyInformation property = PropertyInfoAdapter.Create(propertyInfo); PropertyReflector propertyReflector = BindableObjectMetadataFactory.Create().CreatePropertyReflector(typeof(TestClass), property, new BindableObjectProvider()); Assert.That(propertyReflector.GetType(), Is.SameAs(typeof(PropertyReflector))); Assert.That(propertyReflector.PropertyInfo, Is.SameAs(property)); } }