示例#1
0
        public void AsRuntimeProperty_WithPropertyAdapter_ReturnsRuntimeType()
        {
            var expectedProperty = MemberInfoFromExpressionUtility.GetProperty((TheType t) => t.TheProperty);
            IPropertyInformation propertyInformation = PropertyInfoAdapter.Create(expectedProperty);

            Assert.That(propertyInformation.AsRuntimePropertyInfo(), Is.SameAs(expectedProperty));
        }